aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_m17n.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb
index 98f79b3f76..edc8e4c28f 100644
--- a/test/ruby/test_m17n.rb
+++ b/test/ruby/test_m17n.rb
@@ -1488,6 +1488,8 @@ class TestM17N < Test::Unit::TestCase
assert_equal(true, s.b.tainted?)
s.untrust
assert_equal(true, s.b.untrusted?)
+ s = "abc".b
+ assert_equal(true, s.b.ascii_only?)
end
def test_scrub