Skip to content

Commit

Permalink
Simplify computation of a local path
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Apr 16, 2020
1 parent 5fa9a39 commit 3bbb004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def shell_out_env(simplecov: true)
location.label.start_with?("test_")
end

byebug_dir = File.absolute_path(File.join("..", "..", "lib"), __dir__)
byebug_dir = File.expand_path("../../lib", __dir__)

base = {
"MINITEST_TEST" => "#{self.class}##{minitest_test.label}",
Expand Down

0 comments on commit 3bbb004

Please sign in to comment.