diff options
| author | Zachary Scott <[email protected]> | 2015-09-02 09:52:37 -0400 |
|---|---|---|
| committer | Zachary Scott <[email protected]> | 2015-09-02 09:56:27 -0400 |
| commit | 87564dc98f22a7710f9e6565f6750bfaa220f965 (patch) | |
| tree | 0cd2299934c031347b559d32e72ca95f6862ade6 | |
| parent | 80598f40bf23d310530427808885826e4436330d (diff) | |
| download | mruby-87564dc98f22a7710f9e6565f6750bfaa220f965.tar.gz mruby-87564dc98f22a7710f9e6565f6750bfaa220f965.zip | |
Make travis happy
We have do this because mruby's test files are found using MRUBY_ROOT, like this:
mrbs = Dir.glob("#{MRUBY_ROOT}/test/t/*.rb")
| -rw-r--r-- | test/t/syntax.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/syntax.rb b/test/t/syntax.rb index dc1a4a3b9..fb6ffe408 100644 --- a/test/t/syntax.rb +++ b/test/t/syntax.rb @@ -1,6 +1,6 @@ assert('__FILE__') do - file = __FILE__ - assert_true 'test/t/syntax.rb' == file || 'test\t\syntax.rb' == file + file = __FILE__.split('test/')[1] + assert_true 't/syntax.rb' == file || 't\syntax.rb' == file end assert('__LINE__') do |
