Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Soften this check even more, since packed arys are in diff package
Browse files Browse the repository at this point in the history
headius committed Jun 10, 2016
1 parent d0c42df commit 23a92fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/test/java/org/jruby/test/TestRaiseException.java
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ public void testRubyExceptionTraceIncludesJavaPart() throws Exception {

boolean found_each = false;
for ( StackTraceElement element : trace ) {
if ( "each".equals( element.getMethodName() ) && element.getClassName().startsWith("org.jruby.RubyArray") ) {
if ( "each".equals( element.getMethodName() ) && element.getClassName().contains("RubyArray") ) {
if ( found_each ) {
fail("duplicate " + element + " in : \n" + fullTrace);
}

0 comments on commit 23a92fa

Please sign in to comment.