We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e073b59 commit 32b9723Copy full SHA for 32b9723
spec/truffle/yarp_spec.rb
@@ -12,10 +12,13 @@
12
13
# Similar tests as in https://github.com/ruby/yarp/blob/main/.github/workflows/truffleruby.yml
14
describe "YARP" do
15
- it "can parse core files" do
16
- root = File.expand_path("../..", __dir__)
17
- Dir.glob("#{root}/src/main/ruby/truffleruby/**/*.rb") do |file|
18
- Truffle::Debug.yarp_parse(File.read(file)).should.include?("Node")
+ root = File.expand_path("../..", __dir__)
+
+ guard -> { Dir.exist?("#{root}/src/main/ruby/truffleruby") } do
+ it "can parse core files" do
19
+ Dir.glob("#{root}/src/main/ruby/truffleruby/**/*.rb") do |file|
20
+ Truffle::Debug.yarp_parse(File.read(file)).should.include?("Node")
21
+ end
22
end
23
24
0 commit comments