]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/tracetag_test.rb
Keep trailing semicolons in formatted tag values
[rails.git] / test / models / tracetag_test.rb
index 1aaa596d2d5412aa2cd7131ca1a1731cf24c03e0..0d2b17953a6c0e888796f3abee97aa05985f51cc 100644 (file)
@@ -5,8 +5,8 @@ class TracetagTest < ActiveSupport::TestCase
     tracetag_valid({})
     tracetag_valid({ :tag => nil }, :valid => false)
     tracetag_valid({ :tag => "" }, :valid => false)
-    tracetag_valid(:tag => "a")
-    tracetag_valid(:tag => "a" * 255)
+    tracetag_valid({ :tag => "a" })
+    tracetag_valid({ :tag => "a" * 255 })
     tracetag_valid({ :tag => "a" * 256 }, :valid => false)
     tracetag_valid({ :tag => "a/b" }, :valid => false)
     tracetag_valid({ :tag => "a;b" }, :valid => false)