Skip to content

Commit

Permalink
[YAMLVFSWriter][Tests] Fix YAMLVFSWriterTest
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D79550
  • Loading branch information
jkorous-apple committed May 7, 2020
1 parent eb252b3 commit 5c14503
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions llvm/unittests/Support/VirtualFileSystemTest.cpp
Expand Up @@ -2197,8 +2197,8 @@ TEST_F(VFSFromYAMLTest, YAMLVFSWriterTest) {
ScopedFile _cd(TestDirectory + "/c/d", "");
ScopedDir _e(TestDirectory + "/e");
ScopedDir _ef(TestDirectory + "/e/f");
ScopedDir _g(TestDirectory + "/g");
ScopedFile _h(TestDirectory + "/h", "");
ScopedFile _g(TestDirectory + "/g", "");
ScopedDir _h(TestDirectory + "/h");

vfs::YAMLVFSWriter VFSWriter;
VFSWriter.addDirectoryMapping(_a.Path, "//root/a");
Expand All @@ -2223,8 +2223,8 @@ TEST_F(VFSFromYAMLTest, YAMLVFSWriterTest) {
Lower->addRegularFile("//root/c/d");
Lower->addDirectory("//root/e");
Lower->addDirectory("//root/e/f");
Lower->addDirectory("//root/g");
Lower->addRegularFile("//root/h");
Lower->addRegularFile("//root/g");
Lower->addDirectory("//root/h");

IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLRawString(Buffer, Lower);
ASSERT_TRUE(FS.get() != nullptr);
Expand Down

0 comments on commit 5c14503

Please sign in to comment.