From d3a9db3aff54ea485f409eaaef3d8f56ad77f0dc Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 5 Oct 2020 11:00:05 -0700 Subject: 6958 --- html/003trace.test.cc.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'html/003trace.test.cc.html') diff --git a/html/003trace.test.cc.html b/html/003trace.test.cc.html index c885cafd..ba949d58 100644 --- a/html/003trace.test.cc.html +++ b/html/003trace.test.cc.html @@ -56,14 +56,14 @@ if ('onhashchange' in window) {
   1 void test_trace_check_compares() {
   2   trace("test layer") << "foo" << end();
-  3   CHECK_TRACE_CONTENTS("test layer: foo");
+  3   CHECK_TRACE_CONTENTS("test layer: foo");
   4 }
   5 
   6 void test_trace_check_ignores_other_layers() {
   7   trace("test layer 1") << "foo" << end();
   8   trace("test layer 2") << "bar" << end();
-  9   CHECK_TRACE_CONTENTS("test layer 1: foo");
- 10   CHECK_TRACE_DOESNT_CONTAIN("test layer 2: foo");
+  9   CHECK_TRACE_CONTENTS("test layer 1: foo");
+ 10   CHECK_TRACE_DOESNT_CONTAIN("test layer 2: foo");
  11 }
  12 
  13 void test_trace_check_ignores_leading_whitespace() {
@@ -75,30 +75,30 @@ if ('onhashchange' in window) {
  19 void test_trace_check_ignores_other_lines() {
  20   trace("test layer 1") << "foo" << end();
  21   trace("test layer 1") << "bar" << end();
- 22   CHECK_TRACE_CONTENTS("test layer 1: foo");
+ 22   CHECK_TRACE_CONTENTS("test layer 1: foo");
  23 }
  24 
  25 void test_trace_check_ignores_other_lines2() {
  26   trace("test layer 1") << "foo" << end();
  27   trace("test layer 1") << "bar" << end();
- 28   CHECK_TRACE_CONTENTS("test layer 1: bar");
+ 28   CHECK_TRACE_CONTENTS("test layer 1: bar");
  29 }
  30 
  31 void test_trace_ignores_trailing_whitespace() {
  32   trace("test layer 1") << "foo\n" << end();
- 33   CHECK_TRACE_CONTENTS("test layer 1: foo");
+ 33   CHECK_TRACE_CONTENTS("test layer 1: foo");
  34 }
  35 
  36 void test_trace_ignores_trailing_whitespace2() {
  37   trace("test layer 1") << "foo " << end();
- 38   CHECK_TRACE_CONTENTS("test layer 1: foo");
+ 38   CHECK_TRACE_CONTENTS("test layer 1: foo");
  39 }
  40 
  41 void test_trace_orders_across_layers() {
  42   trace("test layer 1") << "foo" << end();
  43   trace("test layer 2") << "bar" << end();
  44   trace("test layer 1") << "qux" << end();
- 45   CHECK_TRACE_CONTENTS("test layer 1: foo\n"
+ 45   CHECK_TRACE_CONTENTS("test layer 1: foo\n"
  46                        "test layer 2: bar\n"
  47                        "test layer 1: qux\n");
  48 }
@@ -122,7 +122,7 @@ if ('onhashchange' in window) {
  66 
  67 void test_trace_unescapes_newlines() {
  68   trace("test layer 1") << "f\no\no\n" << end();
- 69   CHECK_TRACE_CONTENTS("test layer 1: f\\no\\no");
+ 69   CHECK_TRACE_CONTENTS("test layer 1: f\\no\\no");
  70 }
  71 
  72 // pending: DUMP tests
@@ -138,26 +138,26 @@ if ('onhashchange' in window) {
  82 // can't check trace because trace methods call 'split'
  83 
  84 void test_split_returns_at_least_one_elem() {
- 85   vector<string> result = split("", ",");
+ 85   vector<string> result = split("", ",");
  86   CHECK_EQ(result.size(), 1);
  87   CHECK_EQ(result.at(0), "");
  88 }
  89 
  90 void test_split_returns_entire_input_when_no_delim() {
- 91   vector<string> result = split("abc", ",");
+ 91   vector<string> result = split("abc", ",");
  92   CHECK_EQ(result.size(), 1);
  93   CHECK_EQ(result.at(0), "abc");
  94 }
  95 
  96 void test_split_works() {
- 97   vector<string> result = split("abc,def", ",");
+ 97   vector<string> result = split("abc,def", ",");
  98   CHECK_EQ(result.size(), 2);
  99   CHECK_EQ(result.at(0), "abc");
 100   CHECK_EQ(result.at(1), "def");
 101 }
 102 
 103 void test_split_works2() {
-104   vector<string> result = split("abc,def,ghi", ",");
+104   vector<string> result = split("abc,def,ghi", ",");
 105   CHECK_EQ(result.size(), 3);
 106   CHECK_EQ(result.at(0), "abc");
 107   CHECK_EQ(result.at(1), "def");
@@ -165,7 +165,7 @@ if ('onhashchange' in window) {
 109 }
 110 
 111 void test_split_handles_multichar_delim() {
-112   vector<string> result = split("abc,,def,,ghi", ",,");
+112   vector<string> result = split("abc,,def,,ghi", ",,");
 113   CHECK_EQ(result.size(), 3);
 114   CHECK_EQ(result.at(0), "abc");
 115   CHECK_EQ(result.at(1), "def");
-- 
cgit 1.4.1-2-gfad0