diff options
Diffstat (limited to 'tests/typ/compiler/ops.typ')
| -rw-r--r-- | tests/typ/compiler/ops.typ | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/typ/compiler/ops.typ b/tests/typ/compiler/ops.typ index baa2898a..a29003ed 100644 --- a/tests/typ/compiler/ops.typ +++ b/tests/typ/compiler/ops.typ @@ -152,11 +152,13 @@ #test(test == test, true) #test((() => {}) == (() => {}), false) -// Content cannot be compared. +// Content compares field by field. #let t = [a] -#test(t == t, false) -#test([] == [], false) -#test([a] == [a], false) +#test(t == t, true) +#test([] == [], true) +#test([a] == [a], true) +#test(grid[a] == grid[a], true) +#test(grid[a] == grid[b], false) --- // Test comparison operators. |
