X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..72e71b99724a19d124ddddb15ec2c072227f869d:/test/models/note_comment_test.rb diff --git a/test/models/note_comment_test.rb b/test/models/note_comment_test.rb index e61732904..323a827c0 100644 --- a/test/models/note_comment_test.rb +++ b/test/models/note_comment_test.rb @@ -22,8 +22,8 @@ class NoteCommentTest < ActiveSupport::TestCase end def test_body_valid - ok = ["Name", "vergrößern", "foo\x0abar", - "ルシステムにも対応します", "輕觸搖晃的遊戲"] + ok = %W(Name vergrößern foo\nbar + ルシステムにも対応します 輕觸搖晃的遊戲) bad = ["foo\x00bar", "foo\x08bar", "foo\x1fbar", "foo\x7fbar", "foo\ufffebar", "foo\uffffbar"]