summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-24 16:40:34 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-24 16:40:34 +0000
commit35f35ee58acc4a96040585a0087ff13b98ecc8ae (patch)
treee4bf1d46243341b0c421a7978d1517be8fc44b82 /unittests
parenta2be909b8c9787550769f00c1c151d61b4576c64 (diff)
downloadllvm-35f35ee58acc4a96040585a0087ff13b98ecc8ae.tar.gz
llvm-35f35ee58acc4a96040585a0087ff13b98ecc8ae.tar.bz2
llvm-35f35ee58acc4a96040585a0087ff13b98ecc8ae.tar.xz
Fix windows unittest I missed in the raw_fd_ostream constructor change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index 2d8141f737..d834ec04e0 100644
--- a/unittests/Support/Path.cpp
+++ b/unittests/Support/Path.cpp
@@ -521,7 +521,7 @@ TEST_F(FileSystemTest, CarriageReturn) {
path::append(FilePathname, "test");
{
- raw_fd_ostream File(FilePathname.c_str(), ErrMsg);
+ raw_fd_ostream File(FilePathname.c_str(), ErrMsg, sys::fs::F_None);
EXPECT_EQ(ErrMsg, "");
File << '\n';
}