summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/unittests/DriverTests/WinLinkDriverTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/unittests/DriverTests/WinLinkDriverTest.cpp b/lld/unittests/DriverTests/WinLinkDriverTest.cpp
index 30bfee6c550..d0c18617399 100644
--- a/lld/unittests/DriverTests/WinLinkDriverTest.cpp
+++ b/lld/unittests/DriverTests/WinLinkDriverTest.cpp
@@ -83,7 +83,7 @@ TEST_F(WinLinkParserTest, Mllvm) {
EXPECT_FALSE(parse("link.exe", "/mllvm:-debug", "a.obj", nullptr));
const std::vector<const char *> &options = _context.llvmOptions();
EXPECT_EQ(1U, options.size());
- EXPECT_EQ("-debug", options[0]);
+ EXPECT_STREQ("-debug", options[0]);
}
TEST_F(WinLinkParserTest, NoInputFiles) {
OpenPOWER on IntegriCloud