r250037 - [VFS] Unbreak test.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 12 06:39:33 PDT 2015
Author: d0k
Date: Mon Oct 12 08:39:33 2015
New Revision: 250037
URL: http://llvm.org/viewvc/llvm-project?rev=250037&view=rev
Log:
[VFS] Unbreak test.
Modified:
cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp
Modified: cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp?rev=250037&r1=250036&r2=250037&view=diff
==============================================================================
--- cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp (original)
+++ cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp Mon Oct 12 08:39:33 2015
@@ -571,8 +571,6 @@ TEST_F(InMemoryFileSystemTest, OpenFileF
ASSERT_EQ("a", (*(*File)->getBuffer("ignored"))->getBuffer());
File = FS.openFileForRead("/a"); // Open again.
ASSERT_EQ("a", (*(*File)->getBuffer("ignored"))->getBuffer());
- File = FS.openFileForRead("./a"); // Open again.
- ASSERT_EQ("a", (*(*File)->getBuffer("ignored"))->getBuffer());
File = FS.openFileForRead("/");
ASSERT_EQ(File.getError(), errc::invalid_argument) << FS.toString();
File = FS.openFileForRead("/b");
More information about the cfe-commits
mailing list