diff options
| author | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-22 02:59:58 +0000 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-22 03:00:08 +0000 |
| commit | bb44db8e61a40d4fcd31a87140f3c61aed551a2c (patch) | |
| tree | 7a79a68508e78e7c8f10913fa98a47075b962db5 /tests/features/test_traits_suite.zc | |
| parent | f912e071eaaa362b369626d7312589d4c9ac311b (diff) | |
This one is big, it solves several bugs that were not detected.
Diffstat (limited to 'tests/features/test_traits_suite.zc')
| -rw-r--r-- | tests/features/test_traits_suite.zc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/features/test_traits_suite.zc b/tests/features/test_traits_suite.zc index 7fe7d1c..d546a24 100644 --- a/tests/features/test_traits_suite.zc +++ b/tests/features/test_traits_suite.zc @@ -97,8 +97,8 @@ test "test_derive" { assert(p2.x == 10, "Clone x matches"); // Eq - assert(p1.eq(p2) == true, "Eq works (true)"); + assert(p1.eq(&p2) == true, "Eq works (true)"); var p3 = Point{x: 10, y: 21}; - assert(p1.eq(p3) == false, "Eq works (false)"); + assert(p1.eq(&p3) == false, "Eq works (false)"); } |
