Fix windows unittest I missed in the raw_fd_ostream constructor change.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 24 Feb 2014 16:40:34 +0000 (16:40 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 24 Feb 2014 16:40:34 +0000 (16:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202050 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/Path.cpp

index 2d8141f73723beb4872d4a85adf5742f395c7414..d834ec04e048968c29b76d5af52629ac4c110d7a 100644 (file)
@@ -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';
   }