| Index: trunk/src/content/child/webcrypto/shared_crypto_unittest.cc
|
| ===================================================================
|
| --- trunk/src/content/child/webcrypto/shared_crypto_unittest.cc (revision 289319)
|
| +++ trunk/src/content/child/webcrypto/shared_crypto_unittest.cc (working copy)
|
| @@ -669,9 +669,8 @@
|
| std::string k_value;
|
| if (!webcrypto::Base64DecodeUrlSafe(value_string, &k_value))
|
| return ::testing::AssertionFailure() << "Base64DecodeUrlSafe(k) failed";
|
| - if (!base::LowerCaseEqualsASCII(
|
| - base::HexEncode(k_value.data(), k_value.size()),
|
| - k_expected_hex.c_str())) {
|
| + if (!LowerCaseEqualsASCII(base::HexEncode(k_value.data(), k_value.size()),
|
| + k_expected_hex.c_str())) {
|
| return ::testing::AssertionFailure() << "Expected 'k' to be "
|
| << k_expected_hex
|
| << " but found something different";
|
| @@ -711,9 +710,8 @@
|
| std::string e_value;
|
| if (!webcrypto::Base64DecodeUrlSafe(value_string, &e_value))
|
| return ::testing::AssertionFailure() << "Base64DecodeUrlSafe(e) failed";
|
| - if (!base::LowerCaseEqualsASCII(
|
| - base::HexEncode(e_value.data(), e_value.size()),
|
| - e_expected_hex.c_str())) {
|
| + if (!LowerCaseEqualsASCII(base::HexEncode(e_value.data(), e_value.size()),
|
| + e_expected_hex.c_str())) {
|
| return ::testing::AssertionFailure() << "Expected 'e' to be "
|
| << e_expected_hex
|
| << " but found something different";
|
|
|