[PATCH] D43732: Resolve build bot problems in unittests/Format/FormatTest.cpp
Bjorn Pettersson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 26 06:17:28 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rC326086: Resolve build bot problems in unittests/Format/FormatTest.cpp (authored by bjope, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D43732?vs=135794&id=135891#toc
Repository:
rC Clang
https://reviews.llvm.org/D43732
Files:
unittests/Format/FormatTest.cpp
Index: unittests/Format/FormatTest.cpp
===================================================================
--- unittests/Format/FormatTest.cpp
+++ unittests/Format/FormatTest.cpp
@@ -11724,7 +11724,8 @@
}
TEST(FormatStyle, GetStyleWithEmptyFileName) {
- auto Style1 = getStyle("file", "", "Google");
+ vfs::InMemoryFileSystem FS;
+ auto Style1 = getStyle("file", "", "Google", "", &FS);
ASSERT_TRUE((bool)Style1);
ASSERT_EQ(*Style1, getGoogleStyle());
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43732.135891.patch
Type: text/x-patch
Size: 468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180226/3c5deb8c/attachment.bin>
More information about the cfe-commits
mailing list