Skip to content

Commit

Permalink
TST: Investigate missing snippet definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHermitte committed Aug 29, 2024
1 parent 1c21bce commit 2de198d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ def runtime(script)
script_path = Path.new(script)
command("runtime #{script_path}")
end

def prepend_rtp(dir)
dir_path = Path.new(dir)
if File.directory?(dir_path)
prepend_runtimepath(dir)
else
pp "Path #{dir_path} doesn't exist"
end
end
end

module Platform
Expand Down

0 comments on commit 2de198d

Please sign in to comment.