Skip to content

Commit

Permalink
Correct method name assert_equal's' to fix reference error (#6528)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Tian authored and jdm committed Jul 14, 2017
1 parent 74e8746 commit 25581e4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
`canMakePaymentPromise should be true`
);
} catch (err) {
assert_equal(
assert_equals(
err.name,
"NotAllowedError",
"if it throws, then it must be a NotAllowedError."
Expand Down Expand Up @@ -71,7 +71,7 @@
`should have thrown InvalidStateError, but instead returned "${result}"`
);
} catch (err) {
assert_equal(
assert_equals(
err.name,
"InvalidStateError",
"must be an InvalidStateError."
Expand Down Expand Up @@ -124,7 +124,7 @@
try {
await request.canMakePayment();
} catch (err) {
assert_equal(
assert_equals(
err.name,
"NotAllowedError",
"if it throws, then it must be a NotAllowedError."
Expand All @@ -136,7 +136,7 @@
try {
await new PaymentRequest(defaultMethods, defaultDetails).canMakePayment();
} catch (err) {
assert_equal(
assert_equals(
err.name,
"NotAllowedError",
"if it throws, then it must be a NotAllowedError."
Expand Down

0 comments on commit 25581e4

Please sign in to comment.