Skip to content

Commit 591dfda

Browse files
authored
Merge pull request #129 from phillipwood/fix-yaml-delimiter
tap: fix yaml delimiter
2 parents 10e96bc + e985672 commit 591dfda

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

clar/print.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static void clar_print_tap_ontest(const char *suite_name, const char *test_name,
164164
printf(" file: '"); print_escaped(error->file); printf("'\n");
165165
printf(" line: %" PRIuMAX "\n", error->line_number);
166166
printf(" function: '%s'\n", error->function);
167-
printf(" ---\n");
167+
printf(" ...\n");
168168
}
169169

170170
break;

test/expected/tap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ not ok 1 - combined::1
88
file: 'file'
99
line: 42
1010
function: 'func'
11-
---
11+
...
1212
not ok 2 - combined::2
1313
---
1414
reason: |
@@ -17,7 +17,7 @@ not ok 2 - combined::2
1717
file: 'file'
1818
line: 42
1919
function: 'func'
20-
---
20+
...
2121
not ok 3 - combined::strings
2222
---
2323
reason: |
@@ -27,7 +27,7 @@ not ok 3 - combined::strings
2727
file: 'file'
2828
line: 42
2929
function: 'func'
30-
---
30+
...
3131
not ok 4 - combined::strings_with_length
3232
---
3333
reason: |
@@ -37,7 +37,7 @@ not ok 4 - combined::strings_with_length
3737
file: 'file'
3838
line: 42
3939
function: 'func'
40-
---
40+
...
4141
not ok 5 - combined::int
4242
---
4343
reason: |
@@ -47,7 +47,7 @@ not ok 5 - combined::int
4747
file: 'file'
4848
line: 42
4949
function: 'func'
50-
---
50+
...
5151
not ok 6 - combined::int_fmt
5252
---
5353
reason: |
@@ -57,7 +57,7 @@ not ok 6 - combined::int_fmt
5757
file: 'file'
5858
line: 42
5959
function: 'func'
60-
---
60+
...
6161
not ok 7 - combined::bool
6262
---
6363
reason: |
@@ -67,7 +67,7 @@ not ok 7 - combined::bool
6767
file: 'file'
6868
line: 42
6969
function: 'func'
70-
---
70+
...
7171
not ok 8 - combined::multiline_description
7272
---
7373
reason: |
@@ -78,7 +78,7 @@ not ok 8 - combined::multiline_description
7878
file: 'file'
7979
line: 42
8080
function: 'func'
81-
---
81+
...
8282
not ok 9 - combined::null_string
8383
---
8484
reason: |
@@ -88,5 +88,5 @@ not ok 9 - combined::null_string
8888
file: 'file'
8989
line: 42
9090
function: 'func'
91-
---
91+
...
9292
1..9

0 commit comments

Comments
 (0)