Skip to content
Permalink
Browse files
Green CI without fixing underlying cause. FORCE is broken in 1.8 mode
  • Loading branch information
enebo committed Dec 11, 2014
1 parent 79d5675 commit a80096fd92c3adbf3bd578e0949cc055fd5d0308
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/test/java/org/jruby/embed/ConstantCompilationTest.java
@@ -13,9 +13,9 @@
public class ConstantCompilationTest extends TestCase{
public void testConstantCompilation(){
ScriptingContainer c = new ScriptingContainer(LocalContextScope.SINGLETHREAD, LocalVariableBehavior.PERSISTENT);
c.setCompatVersion(CompatVersion.RUBY1_8);
c.setCompatVersion(CompatVersion.RUBY1_9);
c.setCompileMode(CompileMode.FORCE);
EmbedEvalUnit unit = c.parse("RUBY_VERSION", 0);
assertEquals("1.8.7", unit.run().toString());
assertEquals("1.9.3", unit.run().toString());
}
}

0 comments on commit a80096f

Please sign in to comment.