diff --git a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/S4/R/allocation3.R b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/S4/R/allocation3.R
index dc24bb5415a295d1625b6c971856148efc535860..c1c253979c5c9b03db7bab9f1e7d0b4a5e3cf427 100644
--- a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/S4/R/allocation3.R
+++ b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/S4/R/allocation3.R
@@ -1,4 +1,4 @@
-# ContainsError
+# IgnoreErrorContext
 # test from Hadley Wickham's book
 
 setClass("Person", representation(name = "character", age = "numeric"))
diff --git a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/TestRBase.java b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/TestRBase.java
index 3e941446beb275cc1c3fd72d3716a1f2eadb2e4d..bb429d6d972b0c9271939389be68c0cfc1f28298 100644
--- a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/TestRBase.java
+++ b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/TestRBase.java
@@ -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;
                         }
                     }