mrubyを超漢字で動作させる
Revision | 87564dc98f22a7710f9e6565f6750bfaa220f965 (tree) |
---|---|
Time | 2015-09-02 22:56:27 |
Author | Zachary Scott <e@zzak...> |
Commiter | Zachary Scott |
Make travis happy
We have do this because mruby's test files are found using MRUBY_ROOT, like this:
@@ -1,6 +1,6 @@ | ||
1 | 1 | assert('__FILE__') do |
2 | - file = __FILE__ | |
3 | - assert_true 'test/t/syntax.rb' == file || 'test\t\syntax.rb' == file | |
2 | + file = __FILE__.split('test/')[1] | |
3 | + assert_true 't/syntax.rb' == file || 't\syntax.rb' == file | |
4 | 4 | end |
5 | 5 | |
6 | 6 | assert('__LINE__') do |