]> git.openstreetmap.org Git - rails.git/blobdiff - test/lib/password_hash_test.rb
add lock, information and water classes for nominatim terms
[rails.git] / test / lib / password_hash_test.rb
index 2a42de12366e0a58678859e73d17d947ecf3203e..9bfd734969d34aa548a13aac62bdb981c31da550 100644 (file)
@@ -61,6 +61,6 @@ class PasswordHashTest < ActiveSupport::TestCase
     format = Argon2::HashFormat.new(hash)
 
     assert_equal "argon2id", format.variant
     format = Argon2::HashFormat.new(hash)
 
     assert_equal "argon2id", format.variant
-    assert format.version <= 19
+    assert_operator format.version, :<=, 19
   end
 end
   end
 end