Skip to content

Commit

Permalink
Avoid adding a non-normalized path to $LOAD_PATH in tests
Browse files Browse the repository at this point in the history
* This is necessary to run Fiddle tests on non-CRuby.
  • Loading branch information
eregon committed Sep 26, 2024
1 parent 3f6ac2b commit 58193bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$VERBOSE = true

source_dir = "#{__dir__}/.."
source_dir = File.dirname(__dir__)
$LOAD_PATH.unshift("#{source_dir}/test")
$LOAD_PATH.unshift("#{source_dir}/lib")

Expand Down

0 comments on commit 58193bd

Please sign in to comment.