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 44
55 <groupId >org.ruby-lang</groupId >
66 <artifactId >prism-parser</artifactId >
7- <version >0.0.1 -SNAPSHOT</version >
7+ <version >0.0.2 -SNAPSHOT</version >
88 <name >Java Prism</name >
99 <description >Java API for the Prism Ruby language parser</description >
10+ <url >https://github.com/ruby/prism</url >
1011
12+ <licenses >
13+ <license >
14+ <name >MIT</name >
15+ </license >
16+ </licenses >
17+
18+ <developers >
19+ <developer >
20+ <name >Kevin Newton</name >
21+ <email >kddnewton@gmail.com</email >
22+ </developer >
23+ <developer >
24+ <name >Benoit Daloze</name >
25+ <email >eregontp@gmail.com</email >
26+ </developer >
27+ <developer >
28+ <name >Charles Oliver Nutter</name >
29+ <email >headius@headius.com</email >
30+ </developer >
31+ <developer >
32+ <name >Thomas E Enebo</name >
33+ <email >tom.enebo@gmail.com</email >
34+ </developer >
35+ </developers >
36+
37+ <scm >
38+ <url >https://github.com/ruby/prism</url >
39+ <connection >https://github.com/ruby/prism.git</connection >
40+ </scm >
1141
1242 <properties >
1343 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
6191 </dependency >
6292 <dependency >
6393 <groupId >org.jruby</groupId >
64- <artifactId >jruby-stdlib </artifactId >
94+ <artifactId >jruby-complete </artifactId >
6595 <version >10.0.4.0</version >
6696 <scope >test</scope >
6797 </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 >
7498 </dependencies >
7599
76100 <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