summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.py b/tests.py
index ac42a5d..88012de 100755
--- a/tests.py
+++ b/tests.py
@@ -337,7 +337,7 @@ class MakePatchTestCase(unittest.TestCase):
src = {"x/y": 1}
dst = {"x/y": 2}
patch = jsonpatch.make_patch(src, dst)
- self.assertEqual("""[{"path": "/x~1y", "value": 2, "op": "replace"}]""", str(patch))
+ self.assertEqual([{"path": "/x~1y", "value": 2, "op": "replace"}], patch.patch)
res = patch.apply(src)
self.assertEqual(res, dst)