Skip to content

Commit

Permalink
adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Dec 20, 2016
1 parent 3999868 commit d27477e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions tests/testthat/reporters/junit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
<testsuite name="Expectations" timestamp="1999:12:31 23:59:59" hostname="nodename" tests="6" skipped="0" failures="4" errors="0" time="0">
<testcase time="0" classname="Expectations.Success"/>
<testcase time="0" classname="Expectations.Failure:1">
<failure type="failure" message="expectation_failure in structure(list(fail()), start_frame = 57): Failure has been forced&#10;&#10; @reporters/tests.R#8"/>
<failure type="failure" message="expectation_failure in structure(list(fail()), start_frame = 66): Failure has been forced&#10;&#10; @reporters/tests.R#8"/>
</testcase>
<testcase time="0" classname="Expectations.Failure:2a">
<failure type="failure" message="expectation_failure in structure(list(f(), fail()), start_frame = 57): Failure has been forced&#10;&#10; @reporters/tests.R#12"/>
<failure type="failure" message="expectation_failure in structure(list(f(), fail()), start_frame = 66): Failure has been forced&#10;&#10; @reporters/tests.R#12"/>
</testcase>
<testcase time="0" classname="Expectations.Failure:2b">
<failure type="failure" message="expectation_failure in structure(list(expect_true(FALSE)), start_frame = 57): FALSE isn't true.&#10;&#10; @reporters/tests.R#15"/>
<failure type="failure" message="expectation_failure in structure(list(expect_true(FALSE)), start_frame = 66): FALSE isn't true.&#10;&#10; @reporters/tests.R#15"/>
</testcase>
<testcase time="0" classname="Expectations.Failure:loop">
<failure type="failure" message="expectation_failure in structure(list(expect_equal(i, 2)), start_frame = 57): `i` not equal to 2.&#10;1/1 mismatches&#10;[1] 1 - 2 == -1&#10;&#10; @reporters/tests.R#20"/>
<failure type="failure" message="expectation_failure in structure(list(expect_equal(i, 2)), start_frame = 66): `i` not equal to 2.&#10;1/1 mismatches&#10;[1] 1 - 2 == -1&#10;&#10; @reporters/tests.R#20"/>
</testcase>
<testcase time="0" classname="Expectations.Failure:loop"/>
</testsuite>
<testsuite name="Errors" timestamp="1999:12:31 23:59:59" hostname="nodename" tests="2" skipped="0" failures="0" errors="2" time="0">
<testcase time="0" classname="Errors.Error:1">
<error type="error" message="expectation_error in structure(list(stop(&quot;stop&quot;)), start_frame = 57): stop&#10; @reporters/tests.R#28"/>
<error type="error" message="expectation_error in structure(list(stop(&quot;stop&quot;)), start_frame = 66): stop&#10; @reporters/tests.R#28"/>
</testcase>
<testcase time="0" classname="Errors.Error:3">
<error type="error" message="expectation_error in structure(list(f(), g(), h(), stop(&quot;!&quot;)), start_frame = 57): !&#10; @reporters/tests.R#36"/>
<error type="error" message="expectation_error in structure(list(f(), g(), h(), stop(&quot;!&quot;)), start_frame = 66): !&#10; @reporters/tests.R#36"/>
</testcase>
</testsuite>
<testsuite name="Recursion" timestamp="1999:12:31 23:59:59" hostname="nodename" tests="1" skipped="0" failures="0" errors="1" time="0">
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/reporters/summary-no-dots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ evaluation nested too deeply: infinite recursion / options(expressions=)?
9: f() at reporters/tests.R:42
10: f() at reporters/tests.R:42
...
164: f() at reporters/tests.R:42
165: f() at reporters/tests.R:42
166: f() at reporters/tests.R:42
167: f() at reporters/tests.R:42
168: f() at reporters/tests.R:42
Expand All @@ -70,7 +72,5 @@ evaluation nested too deeply: infinite recursion / options(expressions=)?
171: f() at reporters/tests.R:42
172: f() at reporters/tests.R:42
173: f() at reporters/tests.R:42
174: f() at reporters/tests.R:42
175: f() at reporters/tests.R:42

DONE ===========================================================================

0 comments on commit d27477e

Please sign in to comment.