Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Oct 29, 2024
1 parent 61c7f6f commit 23b344f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js_tests/native.dict.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ test("native_dict_items", async () => {
await dct.setitem(6, "A6");

const items = await dct.items();
expect(items).toEqual([(5, "A5"), (6, "A6")]);
expect(items).toEqual([[5, "A5"], [6, "A6"]]);
});

test("native_dict_keys", async () => {
Expand Down
2 changes: 1 addition & 1 deletion js_tests/python_testing/znsocket.dict.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test("test_dict_values_multiple_znsocket", async () => {
});

test("test_dict_items_znsocket", async () => {
expect(await dct.items()).toEqual([("a", { lorem: "ipsum" }), ("b", 25)]);
expect(await dct.items()).toEqual([["a", { lorem: "ipsum" }], ["b", 25]]);
});

test("test_dict_getitem_znsocket", async () => {
Expand Down

0 comments on commit 23b344f

Please sign in to comment.