From 0e158a3b400c324e35e0617d04508f375a86c633 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 12:36:53 +0000 Subject: Use long-names Instead of "$0" use $PROGRAM_NAME, instead of $! use "$LOAD_PATH". This is more explicit and less-magic. Flagged by rubocop --- t/test-suite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/test-suite') 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' -- cgit v1.2.1