From 284934fbc1f564c5fb756376f43f9b57d5dfed46 Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Thu, 4 Jun 2020 14:48:42 -0700 Subject: [PATCH] Make linter happy --- compiler-rt/lib/sanitizer_common/tests/sanitizer_mac_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_mac_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_mac_test.cpp index 5ae0679..b327ba9 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_mac_test.cpp +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_mac_test.cpp @@ -50,7 +50,7 @@ TEST(SanitizerMac, GetDarwinKernelVersion) { std::string expected(buf); // Prefix match - ASSERT_TRUE(expected.compare(0, actual.size(), actual) == 0); + ASSERT_EQ(expected.compare(0, actual.size(), actual), 0); } } // namespace __sanitizer -- 2.7.4