This currently fails, since Kotest is not comparin...
# kotest
e
This currently fails, since Kotest is not comparing literals. Would it make sense to raise an issue on this?
Copy code
test("comparing doubles") {
         "3.123456789123457" shouldNotEqualJson "3.123456789123456789123456789"
      }
This one is even more questionable. This fails by default (
CompareMode.Strict
, since floats will be converted to ints
Copy code
test("comparing int and float") {
   "3.2" shouldNotEqualJson "3"
}
Imo strict mode should simply compare the value as a string and presence of quotation
s
Yes agreed
e
I saw you have some pretty huge things going on with the test engine, so no pressure to add any feedback right now 😄 Just wanted to let you know I put up a PR for this 🙂 https://github.com/kotest/kotest/pull/2464
👍🏻 1