Skip to content

Commit

Permalink
fix assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
justjavac committed Apr 25, 2019
1 parent 1f6cead commit d4f2798
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/asserts.ts
Expand Up @@ -98,7 +98,7 @@ function assert_object_equals(actual, expected, description) {
} else {
assert(
same_value(actual[p], expected[p]),
"property ${p} expected ${expected} got ${actual}"
`property ${p} expected ${expected} got ${actual}`
);
}
}
Expand Down Expand Up @@ -128,7 +128,7 @@ function assert_array_equals(actual, expected, description) {
);
assert(
same_value(expected[i], actual[i]),
"property ${i}, expected ${expected} but got ${actual}"
`property ${i}, expected ${expected} but got ${actual}`
);
}
}
Expand Down

0 comments on commit d4f2798

Please sign in to comment.