Navigation Menu

Skip to content

Commit

Permalink
test: use a file for test
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 16, 2014
1 parent 230ed7c commit e9d9624
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/mrb/scripts/Makefile.am
@@ -1,7 +1,9 @@
include sources.am

EXTRA_DIST = test/empty.rb

if WITH_MRUBY
ruby_scripts_DATA = $(RUBY_SCRIPT_FILES)
else
EXTRA_DIST = $(RUBY_SCRIPT_FILES)
EXTRA_DIST += $(RUBY_SCRIPT_FILES)
endif
1 change: 1 addition & 0 deletions lib/mrb/scripts/test/empty.rb
@@ -0,0 +1 @@
# This file is just for test.
2 changes: 1 addition & 1 deletion test/command/suite/ruby/load/existent.expected
@@ -1,4 +1,4 @@
register ruby/load
[[0,0.0,0.0],true]
ruby_load "expression.rb"
ruby_load "test/empty.rb"
[[0,0.0,0.0],{"value":null}]
2 changes: 1 addition & 1 deletion test/command/suite/ruby/load/existent.test
Expand Up @@ -2,4 +2,4 @@
register ruby/load
#@on-error default

ruby_load "expression.rb"
ruby_load "test/empty.rb"

0 comments on commit e9d9624

Please sign in to comment.