Commit 1170df75 authored by xhwang's avatar xhwang Committed by Commit bot

Encrypted Media: Fix a typo in FileIOTest::MatchResult().

This typo could cause a false negative when we use
EXPECT_FILE_READ(kSuccess, NULL, 0)

This CL fixes the typo and all tests are still passing.

Review URL: https://codereview.chromium.org/562833002

Cr-Commit-Position: refs/heads/master@{#294507}
parent f7784c1b
......@@ -364,7 +364,7 @@ bool FileIOTest::MatchesResult(const TestStep& a, const TestStep& b) {
if (a.type != RESULT_READ || a.status != cdm::FileIOClient::kSuccess)
return true;
return (a.data_size == a.data_size &&
return (a.data_size == b.data_size &&
std::equal(a.data, a.data + a.data_size, b.data));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment