From eba30983f79e27dc3aa02a785423a96dea68d8b1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 27 Jun 2015 18:06:28 -0700 Subject: 1669 - now it fails in the right place ..when building until layer 41 --- 003trace.test.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to '003trace.test.cc') diff --git a/003trace.test.cc b/003trace.test.cc index 91b495a1..146f9dc2 100644 --- a/003trace.test.cc +++ b/003trace.test.cc @@ -51,6 +51,11 @@ void test_trace_supports_count2() { CHECK_EQ(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