summaryrefslogtreecommitdiffstats
path: root/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
diff options
context:
space:
mode:
authorJan Korous <jkorous@apple.com>2019-08-01 23:24:30 +0000
committerJan Korous <jkorous@apple.com>2019-08-01 23:24:30 +0000
commit9debb024d44db54b9453459d3bd98d28c20a163f (patch)
tree9eedad994306a24bb1e8db0e482b4bac7c783827 /clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
parentd544d1441d98308eeea98969c3311bbd24fd6b0f (diff)
downloadbcm5719-llvm-9debb024d44db54b9453459d3bd98d28c20a163f.tar.gz
bcm5719-llvm-9debb024d44db54b9453459d3bd98d28c20a163f.zip
[DirectoryWatcher] Relax assumption to prevent test flakiness
llvm-svn: 367632
Diffstat (limited to 'clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp')
-rw-r--r--clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp b/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
index a6b48e56236..c26ba57354f 100644
--- a/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
+++ b/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
@@ -377,7 +377,7 @@ TEST(DirectoryWatcherTest, DeleteFile) {
VerifyingConsumer TestConsumer{
{{EventKind::Modified, "a"}},
{{EventKind::Removed, "a"}},
- {{EventKind::Modified, "a"}}};
+ {{EventKind::Modified, "a"}, {EventKind::Removed, "a"}}};
auto DW = DirectoryWatcher::create(
fixture.TestWatchedDir,
OpenPOWER on IntegriCloud