Michael G Schwern wrote:
On Tue, May 24, 2005 at 11:10:08AM +0200, David Landgren wrote:

Anything other than 'got' would go some of the way in disambiguating things.


I forget now what the proposed alternatives were.

If I were starting from scratch, I probably would use 'returned' since it's a C<return> value.

BUT, 'got' actually works better because it's a much shorter word and thus makes a good visual cue next to a longer word like 'expected'. Which is easier to parse visually

/Users/schwern/tmp/during....NOK 1
#     Failed test (/Users/schwern/tmp/during.t at line 5)
#          got: '23'
#     expected: '42'

 ---

/Users/schwern/tmp/during....NOK 1
#     Failed test (/Users/schwern/tmp/during.t at line 5)
#     returned: '23'
#     expected: '42'

 ---

/Users/schwern/tmp/during....NOK 1
#     Failed test (/Users/schwern/tmp/during.t at line 5)
#       actual: '23'
#     expected: '42'

 ---

/Users/schwern/tmp/during....NOK 1
#     Failed test (/Users/schwern/tmp/during.t at line 5)
#     received: '23'
#     expected: '42'

Reply via email to