Hello guys,
I have a strange problem comparing two maps : I have a test failing with no clear reason :
'ArrayBuffer('(ASK,0.0)'): scala.collection.immutable.Map$Map1[scala.Tuple2]'
is not equal to
'ArrayBuffer('(ASK,0.0)'): scala.collection.immutable.Map$Map1[scala.Tuple2]'
Expected :Map(ASK -> 0.0)
Actual :Map(ASK -> 0.0)
<Click to see difference>
java.lang.Exception: 'ArrayBuffer('(ASK,0.0)'): scala.collection.immutable.Map$Map1[scala.Tuple2]'
is not equal to
'ArrayBuffer('(ASK,0.0)'): scala.collection.immutable.Map$Map1[scala.Tuple2]'
I am comparing two maps, what has it to do with ArrayBuffers?
Thanks for your help
Edmondo Porcu
Hello Eric,
That’s a problem with Salat MongoDB deserializer. I find out something crazy: the deserializer sets the internal type to other values:
https://github.com/novus/salat/issues/87 Look the picture I link in the issue J)
Best regards
--
You received this message because you are subscribed to the Google Groups "specs2-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
specs2-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________