Index: third_party/WebKit/Source/modules/payments/PaymentsValidatorsTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentsValidatorsTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentsValidatorsTest.cpp |
index 9173013539f6da0ee673b4afe2043b5cbb221f1d..6b59fada296e26775b02620a3aa2a86235c80163 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentsValidatorsTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentsValidatorsTest.cpp |
@@ -106,14 +106,16 @@ class PaymentsAmountValidatorTest : public testing::TestWithParam<TestCase> {}; |
TEST_P(PaymentsAmountValidatorTest, IsValidAmountFormat) { |
String error_message; |
- EXPECT_EQ(GetParam().expected_valid, PaymentsValidators::IsValidAmountFormat( |
- GetParam().input, &error_message)) |
+ EXPECT_EQ(GetParam().expected_valid, |
+ PaymentsValidators::IsValidAmountFormat( |
+ GetParam().input, "test value", &error_message)) |
<< error_message; |
EXPECT_EQ(GetParam().expected_valid, error_message.IsEmpty()) |
<< error_message; |
EXPECT_EQ(GetParam().expected_valid, |
- PaymentsValidators::IsValidAmountFormat(GetParam().input, nullptr)); |
+ PaymentsValidators::IsValidAmountFormat(GetParam().input, |
+ "test value", nullptr)); |
} |
INSTANTIATE_TEST_CASE_P( |