Skip to content

Commit

Permalink
Update test for warning line numbers to use another warning instead
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@6506 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information
olabini committed Apr 16, 2008
1 parent 258f611 commit 53e5c20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/org/jruby/test/TestParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ protected void setUp() throws Exception {

public void testWarningLineNumber() throws Exception {
String out;
String script = "p String.new 'str'";
String script = "$stdout.puts ('str')";
out = eval(script);
assertTrue(out.indexOf("test:1") != -1);
}
Expand All @@ -28,4 +28,4 @@ public void testErrorLineNumber() throws Exception {
}
}

}
}

0 comments on commit 53e5c20

Please sign in to comment.