Skip to content

Commit

Permalink
Fix testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1isper committed Jul 31, 2024
1 parent 49f13d7 commit 948ed52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ def test_alternative_update():
assert current_state1 == current_state2

doc1 = Doc()
data1 = doc1.get("data", type=Text)
doc1.apply_update(current_state1)
doc2 = Doc()
data2 = doc2.get("data", type=Text)
doc2.apply_update(current_state2)
assert doc1["data"] == doc2["data"]

assert str(doc1["data"]) == str(doc2["data"])

0 comments on commit 948ed52

Please sign in to comment.