From 25581e4ac71ead2ef233a1192b33494543534ba6 Mon Sep 17 00:00:00 2001 From: Ben Tian Date: Fri, 14 Jul 2017 12:09:59 +0800 Subject: [PATCH] Correct method name assert_equal's' to fix reference error (#6528) --- .../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."