File tree Expand file tree Collapse file tree
src/test/java/org/jruby/parser/prism Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 </dependency >
6262 <dependency >
6363 <groupId >org.jruby</groupId >
64- <artifactId >jruby-stdlib </artifactId >
64+ <artifactId >jruby-complete </artifactId >
6565 <version >10.0.4.0</version >
6666 <scope >test</scope >
6767 </dependency >
68- <dependency >
69- <groupId >org.jruby</groupId >
70- <artifactId >jruby-base</artifactId >
71- <version >10.0.4.0</version >
72- <scope >provided</scope >
73- </dependency >
7468 </dependencies >
7569
7670 <profiles >
Original file line number Diff line number Diff line change 11package org .jruby .parser .prism ;
22
3- import org .jruby .Ruby ;
43import org .junit .jupiter .api .Test ;
54import org .ruby_lang .prism .ParsingOptions ;
65import org .ruby_lang .prism .wasm .Prism ;
@@ -132,7 +131,7 @@ private static void basicJRubyTest(Prism prism) throws Exception {
132131 new byte [][][]{}
133132 );
134133
135- try (InputStream fileIn = Ruby .getClassLoader ().getResourceAsStream (file )) {
134+ try (InputStream fileIn = JRubyTest . class .getClassLoader ().getResourceAsStream (file )) {
136135 assertNotNull (fileIn , "Could not find file: " + file );
137136 DataInputStream dis = new DataInputStream (fileIn );
138137 int read = dis .read (src );
You can’t perform that action at this time.
0 commit comments