Skip to content

Commit 0e7f90f

Browse files
description outputs ###DESC###
This prefix is detected by our test runner.
1 parent 7da9189 commit 0e7f90f

192 files changed

Lines changed: 1811 additions & 1270 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

exercises/concept/annalyns-infiltration/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

exercises/concept/backyard-birdcount/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

exercises/concept/backyard-birdwatcher/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

exercises/concept/belgian-boxcars/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

exercises/concept/bering-bearings/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

exercises/concept/boatswains-bilge/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

exercises/concept/bosuns-briefing/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

exercises/concept/bosuns-bunting/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

exercises/concept/boutique-bookkeeping/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

exercises/concept/cars-assemble/exercism-tools/exercism-tools.factor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ SYNTAX: STOP-HERE
99
SYNTAX: TASK:
1010
lexer get next-line ;
1111

12+
! Label the test that follows with its description. The marker lets the
13+
! wrapper strip this line from captured output and attach it to the next
14+
! test as a name, rather than leaving it in the previous test's output.
15+
: description ( str -- )
16+
"###DESC### " write print ;
17+
1218
! Print one failure block in a stable, parser-friendly form. Bracketed by
1319
! markers so a wrapper can split the stream reliably and avoid Factor's
1420
! noisy callstack output (which is interleaved with subsequent failures).

0 commit comments

Comments
 (0)