]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/user_test.rb
Update to latest leaflet-osm plugin
[rails.git] / test / models / user_test.rb
index 7f24469f625e66dcafc3131cd9b37e9d2a446db0..5e03c7e0322c576a76cfa3c8cbe0cf7b78352fa8 100644 (file)
@@ -86,7 +86,8 @@ class UserTest < ActiveSupport::TestCase
     # These need to be 3 chars in length, otherwise the length test above
     # should be used.
     bad = [ "<hr/>", "test@example.com", "s/f", "aa/", "aa;", "aa.",
-            "aa,", "aa?", "/;.,?", "も対応します/", "#ping" ]
+            "aa,", "aa?", "/;.,?", "も対応します/", "#ping",
+            "foo\x1fbar", "foo\x7fbar", "foo\ufffebar", "foo\uffffbar" ]
     ok.each do |display_name|
       user = users(:normal_user)
       user.display_name = display_name