Skip to content

Commit 3a802bc

Browse files
committed
specs: fix ambiguous argument warning
1 parent 63f5e9c commit 3a802bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ipcat_iprange_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
it("should match first") { (range <=> range.first).must_equal 0 }
2121
it("should match last") { (range <=> range.last).must_equal 0 }
2222
it("should match first-1") { (range <=> range.first - 1).must_equal 1 }
23-
it("should match last+1") { (range <=> range.last + 1).must_equal -1 }
23+
it("should match last+1") { (range <=> range.last + 1).must_equal(-1) }
2424
end
2525
end
2626

0 commit comments

Comments
 (0)