aboutsummaryrefslogtreecommitdiffstats
path: root/test/erb/test_erb_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/erb/test_erb_command.rb')
-rw-r--r--test/erb/test_erb_command.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/erb/test_erb_command.rb b/test/erb/test_erb_command.rb
new file mode 100644
index 0000000000..a21feb004d
--- /dev/null
+++ b/test/erb/test_erb_command.rb
@@ -0,0 +1,10 @@
+# -*- coding: us-ascii -*-
+require 'test/unit'
+
+class TestErbCommand < Test::Unit::TestCase
+ def test_var
+ assert_in_out_err([File.expand_path("../../../bin/erb", __FILE__),
+ "var=hoge"],
+ "<%=var%>", ["hoge"])
+ end
+end