stefan2904 / shunit2

Automatically exported from code.google.com/p/shunit2
0 stars 0 forks source link

Line Number Access Throws Error #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Normal test (sourced shunit2), testMyFunc() with only one line:  
${_ASSERT_EQUALS_} "1 = 2" 1 2

What is the expected output? What do you see instead?
Never seen this before so not sure what it would look like exactly. However, 
shunit2 gives me:
testMyFunc
shunit2:ERROR assertEquals() requires two or three arguments; 5 given
shunit2:ERROR 1: 1 2: = 3: 2 4: 1

Ran 1 test.

OK

What version of the product are you using? Can you provide the output from
the lib/versions script included with the source?
- 2.1.6
- versions:
os: Mac OS X version: 10.X.X
shell: /bin/bash version: 3.2.48(1)-release
shell: /bin/dash version: not installed
shell: /bin/ksh version: 2011-02-08
shell: /bin/pdksh version: not installed
shell: /bin/sh version: unknown
shell: /bin/zsh version: 4.3.11

Please provide any additional information below.

Original issue reported on code.google.com by callmeSm...@gmail.com on 19 Nov 2013 at 9:17