test/test_string.rb in ffaker-2.6.0 vs test/test_string.rb in ffaker-2.7.0
- old
+ new
@@ -46,10 +46,10 @@
assert_equal '\\/.()[]{}', FS.from_regexp(/\\\/\.\(\)\[\]\{\}/)
assert_deterministic { FS.from_regexp(%r|\\\/\.\(\)\[\]\{\}|) }
end
def test_atom_sets
- assert_include %w(a b c), FS.from_regexp(/[abc]/)
+ assert_include %w[a b c], FS.from_regexp(/[abc]/)
assert_deterministic { FS.from_regexp(/[abc]/) }
end
def test_special_sets
assert_match(/\A[\w\d]\z/, FS.from_regexp(/[\w\d]/))