diff options
Diffstat (limited to 'test/csv/test_row.rb')
-rwxr-xr-x | test/csv/test_row.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/csv/test_row.rb b/test/csv/test_row.rb index d786f38cd4..3acceea234 100755 --- a/test/csv/test_row.rb +++ b/test/csv/test_row.rb @@ -347,4 +347,9 @@ class TestCSV::Row < TestCSV def test_can_be_compared_with_other_classes assert_not_nil(CSV::Row.new([ ], [ ]), "The row was nil") end + + def test_can_be_compared_when_not_a_row + r = @row == [] + assert_equal false, r + end end |