summaryrefslogtreecommitdiffstats
path: root/media/libcubeb/test
diff options
context:
space:
mode:
Diffstat (limited to 'media/libcubeb/test')
-rw-r--r--media/libcubeb/test/test_triple_buffer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libcubeb/test/test_triple_buffer.cpp b/media/libcubeb/test/test_triple_buffer.cpp
index a6e0049b79..d463c07e03 100644
--- a/media/libcubeb/test/test_triple_buffer.cpp
+++ b/media/libcubeb/test/test_triple_buffer.cpp
@@ -64,4 +64,7 @@ TEST(cubeb, triple_buffer)
}
t.join();
+
+ buffer.invalidate();
+ ASSERT_FALSE(buffer.updated());
}