Use ::testing::Eq in QPACK tests.
Chromium requires some special annotation for using a C-style string literal as a GMock expected argument on a mocked method that takes a QuicStringPiece. This CL replaces QuicStringPiece constructors with the more idiomatic ::testing::Eq matcher. This CL lands server change 230912128 by bnc. BUG=488484 Change-Id: Icb43cc2ad771dc8e0e4194e03617b31319021763 Reviewed-on: https://chromium-review.googlesource.com/c/1441497Reviewed-by:Zhongyi Shi <zhongyi@chromium.org> Commit-Queue: Bence Béky <bnc@chromium.org> Cr-Commit-Position: refs/heads/master@{#626965}
Showing
This diff is collapsed.
Please register or sign in to comment