OSDN Git Service

[VFS] Fix warning and use better check.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 29 Jan 2019 19:07:15 +0000 (19:07 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 29 Jan 2019 19:07:15 +0000 (19:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352527 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/VirtualFileSystemTest.cpp

index f6cbd5b..fc39f50 100644 (file)
@@ -776,7 +776,7 @@ TEST(ProxyFileSystemTest, Basic) {
 
   bool Local = true;
   ASSERT_FALSE(PFS.isLocal("/a", Local));
-  ASSERT_EQ(false, Local);
+  EXPECT_FALSE(Local);
 }
 
 class InMemoryFileSystemTest : public ::testing::Test {