That is just an escape for printing purposes. All tests have it when
dealing with strings. That is because eunit prints the expected value,
a term(), as a string().

On Sun, Apr 3, 2011 at 9:21 PM, Jordan Wilberding <[email protected]> wrote:
> Well for one the expect value is "blah", whereas your given value is just
> blah (you don't have beginning and end quote).
> Also, I am not sure how the unit tests will treat the \" vs a " (without the
> slash).
> Thanks!
> JW
> On Sun, Apr 3, 2011 at 9:21 PM, Martin Logan <[email protected]> wrote:
>>
>> Looks like a match to me
>>
>> epl_list: collect_dups_test...*failed*
>> ::error:{assertMatch_failed,[{module,epl_list},
>>                           {line,161},
>>                           {expression,"collect_dups ( SortedPairs )"},
>>                           {expected,"[ { \"a\" , [ \"1.1\" , \"1.2\"
>> \"1.3\" ] } ]"},
>>                           {value,[{"a",["1.1","1.2","1.3"]}]}]}
>>  in function epl_list:'-collect_dups_test/0-fun-0-'/0
>>
>>
>> --
>> Martin Logan
>> Erlang & OTP in Action (Manning) http://manning.com/logan
>> http://twitter.com/martinjlogan
>> http://erlware.org
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "erlware-dev" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/erlware-dev?hl=en.
>>
>
>



-- 
Martin Logan
Erlang & OTP in Action (Manning) http://manning.com/logan
http://twitter.com/martinjlogan
http://erlware.org

-- 
You received this message because you are subscribed to the Google Groups 
"erlware-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/erlware-dev?hl=en.

Reply via email to