Skip to content
Snippets Groups Projects
Commit 63d4a8a6 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

rename ContainsError and ContainsWarning in TestRBase as well

parent 325d3882
Branches
No related tags found
No related merge requests found
# ContainsError
# IgnoreErrorContext
# test from Hadley Wickham's book
setClass("Person", representation(name = "character", age = "numeric"))
......
......@@ -83,9 +83,9 @@ public class TestRBase extends TestBase {
l = l.trim();
if (l.startsWith("#")) {
// check the first line for configuration options
if (l.contains("ContainsError")) {
if (l.contains("IgnoreErrorContext")) {
testTrait = Output.IgnoreErrorContext;
} else if (l.contains("ContainsWarning")) {
} else if (l.contains("IgnoreWarningContext")) {
testTrait = Output.IgnoreWarningContext;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment