Skip to content

Commit 0d7f25b

Browse files
AniketsyFokko
andauthored
Update tests/expressions/test_expressions.py
Co-authored-by: Fokko Driesprong <[email protected]>
1 parent e047167 commit 0d7f25b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/expressions/test_expressions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,12 +782,12 @@ def test_not_null() -> None:
782782

783783
def test_serialize_is_null() -> None:
784784
pred = IsNull(term="foo")
785-
assert pred.model_dump_json() == '{"type":"is-null","term":"foo"}'
785+
assert pred.model_dump_json() == '{"term":"foo","type":"is-null"}'
786786

787787

788788
def test_serialize_not_null() -> None:
789789
pred = NotNull(term="foo")
790-
assert pred.model_dump_json() == '{"type":"not-null","term":"foo"}'
790+
assert pred.model_dump_json() == '{"term":"foo","type":"not-null"}'
791791

792792

793793
def test_bound_is_nan(accessor: Accessor) -> None:

0 commit comments

Comments
 (0)