Skip to content

Commit 91c0de4

Browse files
committed
fixing test case based on mentor feedback
1 parent e9ba153 commit 91c0de4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Sprint-2/interpret/invert.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ test("swapping key and value of the object", invert({ x: 10, y: 20, z: 30 }), {
5858
20: "y",
5959
30: "z",
6060
});
61-
test("swapping key and value of the object", invert({ x: 10, y: 20, z: 30 }), {
62-
x: 10,
63-
20: "y",
64-
z: 30,
61+
test("swapping key and value of the object", invert({ A: 50, B: 40, D: 30 }), {
62+
50: "A",
63+
40: "B",
64+
30: "D",
6565
});

0 commit comments

Comments
 (0)