]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/message_test.rb
Small comment fix
[rails.git] / test / models / message_test.rb
index 84c46664995e54374dc9ffec53f3ed128698a9d5..285222f1e576217098f2861854015a87635f5ced 100644 (file)
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
 require "test_helper"
 
 class MessageTest < ActiveSupport::TestCase
@@ -65,10 +64,8 @@ class MessageTest < ActiveSupport::TestCase
         # its OK to accept invalid UTF-8 as long as we return it unmodified.
         db_msg = msg.class.find(msg.id)
         assert_equal char, db_msg.title, "Database silently truncated message title"
-
       rescue ArgumentError => ex
         assert_equal ex.to_s, "invalid byte sequence in UTF-8"
-
       end
     end
   end