diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | test/ruby/envutil.rb | 4 | ||||
-rw-r--r-- | test/ruby/test_regexp.rb | 8 |
3 files changed, 16 insertions, 3 deletions
@@ -1,3 +1,10 @@ Wed Jun 23 06:44:05 2010 Nobuyoshi Nakada <[email protected]> * configure.in (fchown): need to check. a by Eric Wong @@ -76,6 +76,10 @@ module EnvUtil opt[:in] = in_c opt[:out] = out_c if capture_stdout opt[:err] = err_c if capture_stderr case args.first when Hash child_env = [args.shift] @@ -819,9 +819,11 @@ class TestRegexp < Test::Unit::TestCase end def test_dup_warn - assert_in_out_err(%w/-w -U/, "#coding:utf-8\nx=/[\u3042\u3041]/\n!x", [], /\A\z/) - assert_in_out_err(%w/-w -U/, "#coding:utf-8\nx=/[\u3042\u3042]/\n!x", [], /duplicated/) - assert_in_out_err(%w/-w -U/, "#coding:utf-8\nx=/[\u3042\u3041-\u3043]/\n!x", [], /duplicated/) end def test_property_warn |