From 62a52ffbfe2880fe754732ca3417eab96ff83738 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 1 Jul 2015 10:19:04 -0700 Subject: 1690 --- html/003trace.test.cc.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'html/003trace.test.cc.html') diff --git a/html/003trace.test.cc.html b/html/003trace.test.cc.html index 91391d7b..f8de30f2 100644 --- a/html/003trace.test.cc.html +++ b/html/003trace.test.cc.html @@ -81,6 +81,11 @@ void test_trace_supports_count2() (trace_count("test layer 1"), 2); } +void test_trace_count_ignores_trailing_whitespace() { + trace("test layer 1") << "foo\n"; + CHECK(trace_count("test layer 1", "foo") == 1); +} + // pending: DUMP tests // pending: readable_contents() adds newline if necessary. // pending: raise also prints to stderr. -- cgit 1.4.1-2-gfad0