diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-09 21:48:05 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-09 21:48:05 +0000 |
commit | f4592d7bb0c88ab22e15e632afb70279f119af4e (patch) | |
tree | 86dcaf5e5f9fd60c13efee3612190c9ee1e04f06 /test/ruby/test_regexp.rb | |
parent | 08eb58d3dd6543a44c798aacc4385bf9f8bc005d (diff) | |
download | ruby-f4592d7bb0c88ab22e15e632afb70279f119af4e.tar.gz |
* re.c (rb_reg_expr_str): use \xHH instead of \OOO.
* regerror.c (to_ascii): ditto.
(onig_snprintf_with_pattern): ditto.
(onig_snprintf_with_pattern): ditto.
* string.c (rb_str_inspect): ditto.
(rb_str_dump): ditto.
* parse.y (parser_yylex): ditto.
* ruby.c (proc_options): ditto.
* file.c (rb_f_test): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_regexp.rb')
-rw-r--r-- | test/ruby/test_regexp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index 52b62f6421..5cb6c810da 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -37,7 +37,7 @@ class TestRegexp < Test::Unit::TestCase end def test_to_s - assert_equal '(?-mix:\000)', Regexp.new("\0").to_s + assert_equal '(?-mix:\x00)', Regexp.new("\0").to_s end def test_union |