Skip to content

Commit b11bf70

Browse files
committed
test for matches_non_negative_int? should check that negative ints are not picked up
1 parent d786615 commit b11bf70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/helpers/search_qualifier_helper_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class SearchQualifierHelperTest < ActionView::TestCase
3636
assert matches_non_negative_int?(value)
3737
end
3838

39-
['name', '-tag', '3.14'].each do |value|
39+
['name', '-tag', '3.14', '-273'].each do |value|
4040
assert_not matches_non_negative_int?(value)
4141
end
4242
end

0 commit comments

Comments
 (0)