Closed logrusorgru closed 9 years ago
Tests do not always pass. Because "abc" and "abc" should be equal, but "abc, {a:1,b:2,c:3}" and "abc, {b:2,c:3,a:1}" should be equal too. runtime.Object is map[Val]Val, but map doesn't support ordering. Playground implementation of pull request.
"abc"
"abc, {a:1,b:2,c:3}"
"abc, {b:2,c:3,a:1}"
runtime.Object
map[Val]Val
Yeah, thanks, I haven't touched this project in a long while.
Tests do not always pass. Because
"abc"
and"abc"
should be equal, but"abc, {a:1,b:2,c:3}"
and"abc, {b:2,c:3,a:1}"
should be equal too.runtime.Object
ismap[Val]Val
, but map doesn't support ordering. Playground implementation of pull request.