From 725e67defd1751d4a3b1de4146553da7a7da0f30 Mon Sep 17 00:00:00 2001 From: Ben Tian Date: Wed, 12 Jul 2017 11:32:54 +0800 Subject: [PATCH] Correct method name assert_equal's' to fix reference error --- .../payment-request-canmakepayment-method.https.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/payment-request/payment-request-canmakepayment-method.https.html b/payment-request/payment-request-canmakepayment-method.https.html index 891a62d2a198d4..981ddb8a2aeab3 100644 --- a/payment-request/payment-request-canmakepayment-method.https.html +++ b/payment-request/payment-request-canmakepayment-method.https.html @@ -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." @@ -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." @@ -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." @@ -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."