aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/SourceMgrTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Support/SourceMgrTest.cpp')
-rw-r--r--llvm/unittests/Support/SourceMgrTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/unittests/Support/SourceMgrTest.cpp b/llvm/unittests/Support/SourceMgrTest.cpp
index 75a0cfe..f5366a7 100644
--- a/llvm/unittests/Support/SourceMgrTest.cpp
+++ b/llvm/unittests/Support/SourceMgrTest.cpp
@@ -537,7 +537,6 @@ TEST_F(SourceMgrTest, PrintWithoutLoc) {
auto Diag =
llvm::SMDiagnostic("file.in", llvm::SourceMgr::DK_Error, "message");
Diag.print(nullptr, OS);
- OS.flush();
EXPECT_EQ("file.in: error: message\n", Output);
Output.clear();
Diag.print(nullptr, OS, false, false, false);