Skip to content

Commit 4f2c358

Browse files
committed
fix travis error
1 parent e076692 commit 4f2c358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby-tools/src/test/java/de/saumya/mojo/ruby/EmbeddedLauncherTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void testExecution() throws Exception {
7676
// in this case GEM_HOME was set in system environment
7777
f = new File("target/test-classes/test.rb-gem.txt");
7878
}
79-
assertEquals("onetwothree", FileUtils.fileRead(f).trim() );
79+
assertEquals("onetwothree", FileUtils.fileRead(f).substring(0, 11) );
8080
}
8181

8282
public void testExecutionInTarget() throws Exception {

0 commit comments

Comments
 (0)