Atom name: Manipulating Lists
Exercise #4
I’m getting this error
Wrong result for sample expected: java.util.Collections$SingletonSet<[(Charlie, friends: [Bob])]> but was: java.util.Collections$SingletonSet<[(Charlie, friends: [Bob])]>
Does not make sense I guess because the collections have the same entries in the same order, the properties have the same values.
Anyone knows why is this happening? the exercise is using atomictest
package to check the tasks
After running main I get this output
[(Charlie, friends: [Bob])]
[Error]: [(Charlie, friends: [Bob])] != [(Charlie, friends: [Bob])]
As you can see the objects are equal but for some reason the check fails