summaryrefslogtreecommitdiffstats
path: root/test/other/tc_function.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/other/tc_function.rb')
-rw-r--r--test/other/tc_function.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/other/tc_function.rb b/test/other/tc_function.rb
index 0fda38a5d..998fac7ae 100644
--- a/test/other/tc_function.rb
+++ b/test/other/tc_function.rb
@@ -1,4 +1,8 @@
-$:.unshift '../lib' if __FILE__ == $0 # Make this library first!
+if __FILE__ == $0
+ $:.unshift '..'
+ $:.unshift '../../lib'
+ $blinkbase = "../.."
+end
require 'blink/function'
require 'blink/fact'