Skip to content

Commit

Permalink
documented tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Mar 30, 2024
1 parent 2aef7cb commit 3355150
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void test_trace_nested() {

assertEquals(7L, venice.eval(script1, params));

// Must run on *nix and Windows
// Must run on *nix and Windows (convert crlf)
assertEquals(
"TRACE t00: (user/bar 5)\n" +
"TRACE t00: | (user/foo 5)\n" +
Expand All @@ -124,7 +124,7 @@ public void test_trace_nested() {
}

@Test
public void test_trace_exceptipn() {
public void test_trace_exception() {
final CapturingPrintStream cps = new CapturingPrintStream();

final Venice venice = new Venice();
Expand All @@ -145,7 +145,7 @@ public void test_trace_exceptipn() {

assertThrows(VncException.class, () -> venice.eval(script1, params));

// Must run on *nix and Windows
// Must run on *nix and Windows (convert crlf)
assertEquals(
"TRACE t00: (user/bar 5)\n" +
"TRACE t00: | (user/foo 5)\n" +
Expand Down Expand Up @@ -342,7 +342,7 @@ public void test_tee_3() {
" trace/tee \n" +
" (- 1)))) ";

// Must run on *nix and Windows
// Must run on *nix and Windows (convert crlf)
assertEquals("trace: 4\n", StringUtil.crlf_to_lf((String)venice.eval(script)));
}

Expand Down

0 comments on commit 3355150

Please sign in to comment.