diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2019-06-28 15:28:24 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-28 15:32:29 -0700 |
commit | cf51e77d6d7cf5302f03812bb726a86e9be572f5 (patch) | |
tree | b4624e72b2d62af64371cd2e66d7596a2327c00f /test/syscalls/linux/file_base.h | |
parent | 295078fa7ae7893f3deb0e6042e2aecfaba0dd1c (diff) |
Fix suggestions from clang.
PiperOrigin-RevId: 255679603
Diffstat (limited to 'test/syscalls/linux/file_base.h')
-rw-r--r-- | test/syscalls/linux/file_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/syscalls/linux/file_base.h b/test/syscalls/linux/file_base.h index b5b972c07..36efabcae 100644 --- a/test/syscalls/linux/file_base.h +++ b/test/syscalls/linux/file_base.h @@ -160,7 +160,7 @@ class SocketTest : public ::testing::Test { // MatchesStringLength checks that a tuple argument of (struct iovec *, int) // corresponding to an iovec array and its length, contains data that matches -// the std::string length strlen. +// the string length strlen. MATCHER_P(MatchesStringLength, strlen, "") { struct iovec* iovs = arg.first; int niov = arg.second; @@ -177,7 +177,7 @@ MATCHER_P(MatchesStringLength, strlen, "") { // MatchesStringValue checks that a tuple argument of (struct iovec *, int) // corresponding to an iovec array and its length, contains data that matches -// the std::string value str. +// the string value str. MATCHER_P(MatchesStringValue, str, "") { struct iovec* iovs = arg.first; int len = strlen(str); |