Skip to content

Commit 09a0fdd

Browse files
committed
Make it easy to run a single parsing spec file
1 parent b33f5fd commit 09a0fdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/truffle/parsing/parsing_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
describe "Parsing" do
5454
require 'yaml'
5555

56-
filenames = Dir.glob(File.dirname(__FILE__) + "/fixtures/**/*.yaml")
56+
filenames = Dir.glob("#{__dir__}/fixtures/**/*.yaml")
57+
# filenames = ["#{__dir__}/fixtures/global_variables/reading_$0.yaml"] # to run a single one
5758

5859
filenames.each do |filename|
5960
yaml = YAML.safe_load_file(filename)

0 commit comments

Comments
 (0)