diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 12:36:53 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 12:36:53 +0000 |
commit | 90070510d4b3913e3f18e05e57c9b5a3170adde5 (patch) | |
tree | 5b1483ae7c585bcd9019339b82dc1b442e46e84a /t/test-suite | |
parent | a4992f4396d593c0a496c6da9c08d937d1445857 (diff) |
Use long-names
Instead of "$0" use $PROGRAM_NAME, instead of $! use "$LOAD_PATH". This
is more explicit and less-magic.
Flagged by rubocop
Diffstat (limited to 't/test-suite')
-rwxr-xr-x | t/test-suite | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-suite b/t/test-suite index 9500052..02df298 100755 --- a/t/test-suite +++ b/t/test-suite @@ -11,7 +11,7 @@ # base = File.dirname(__FILE__) %w(bin lib .).each do |d| - $: << File.expand_path(File.join(base, "../#{d}")) + $LOAD_PATH << File.expand_path(File.join(base, "../#{d}")) end require 'test/unit' |