mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Test helper
- extras path now uses File.join instead of string concatenation - extras path is only loaded into $LOAD_PATH if it's not already part of it
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env ruby
|
||||
$LOAD_PATH.unshift(File.dirname(__FILE__)+ '/extra')
|
||||
extras_path = File.join File.dirname(__FILE__), 'extra'
|
||||
$LOAD_PATH.unshift(extras_path) unless $LOAD_PATH.include? extras_path
|
||||
|
||||
require 'test/unit'
|
||||
require 'test/unit/assertions'
|
||||
|
||||
Reference in New Issue
Block a user