summaryrefslogtreecommitdiff
path: root/jni/ruby/test/erb/test_erb_command.rb
blob: abc8fdbe25e6d3b7f63d4dc2fe98021ba0bc7f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
# -*- coding: us-ascii -*-
require 'test/unit'

class TestErbCommand < Test::Unit::TestCase
  def test_var
    assert_in_out_err(["-w",
                       File.expand_path("../../../bin/erb", __FILE__),
                       "var=hoge"],
                      "<%=var%>", ["hoge"])
  end
end