ludic/changes/expect-eq-strings.md
Orkuncakilkaya 2fdefa6040 fix(test): expect_eq on strings compares their text and prints both on a failure
It lowered to an i32 compare of two pointers, which the IR refused. Two strings with the same text
are equal now, a null only to a null, and a failure says expect_eq failed (got "camp", want
"lake"). examples/library/testing_strings.ludic (two tests fail on purpose, and the output is
checked); ludic.base's actions_test uses it again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 19:23:38 +03:00

285 B

bump: patch type: fix expect_eq on strings compares their text. It lowered to an integer compare of two pointers, which the IR refused; now two strings with the same text are equal (a null only to a null), and a failure prints both: expect_eq failed (got "camp", want "lake").