From: Sergej Jaskiewicz Date: Tue, 1 Sep 2020 21:54:20 +0000 (+0300) Subject: [llvm] [unittests] Fix failing test 'FileCollectorTest.addDirectory' X-Git-Tag: llvmorg-13-init~13147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=224d8153b53b16cf535ea1a55afdfe1ec5b1374f;p=platform%2Fupstream%2Fllvm.git [llvm] [unittests] Fix failing test 'FileCollectorTest.addDirectory' This fixes a regression in the test suite introduced by fad75598d272b9a5591fb7d9b591cf00cdf5022c --- diff --git a/llvm/unittests/Support/FileCollectorTest.cpp b/llvm/unittests/Support/FileCollectorTest.cpp index 20d7068..644daa37 100644 --- a/llvm/unittests/Support/FileCollectorTest.cpp +++ b/llvm/unittests/Support/FileCollectorTest.cpp @@ -95,7 +95,7 @@ TEST(FileCollectorTest, addDirectory) { // Make sure we've only seen the added files. llvm::SmallString<128> ddd(file_root.path()); llvm::sys::path::append(ddd, "ddd"); - TempFile d(ddd.str(), "", "", /*Unique*/ true); + TempFile d(ddd); EXPECT_FALSE(FileCollector.hasSeen(d.path())); }