From d009e158803956c76adbf8f58a62884c3e7affb3 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 26 Jan 2016 23:47:23 -0800 Subject: 2605 --- html/003trace.test.cc.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'html/003trace.test.cc.html') diff --git a/html/003trace.test.cc.html b/html/003trace.test.cc.html index 963493e4..b5768fc6 100644 --- a/html/003trace.test.cc.html +++ b/html/003trace.test.cc.html @@ -40,6 +40,12 @@ void test_trace_check_ignores_other_layers() ("test layer 2: foo"); } +void test_trace_check_ignores_leading_whitespace() { + trace("test layer 1") << " foo" << end(); + CHECK(trace_count("test layer 1", /*too little whitespace*/"foo") == 1); + CHECK(trace_count("test layer 1", /*too much whitespace*/" foo") == 1); +} + void test_trace_check_ignores_other_lines() { trace("test layer 1") << "foo" << end(); trace("test layer 1") << "bar" << end(); -- cgit 1.4.1-2-gfad0 88a6b0'>tree)
1
2
3
4
5
6
7
8
9
10
11