diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/csv/test_row.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/csv/test_row.rb b/test/csv/test_row.rb index f709dd3f13..b717945041 100644 --- a/test/csv/test_row.rb +++ b/test/csv/test_row.rb @@ -425,6 +425,9 @@ class TestCSVRow < Test::Unit::TestCase def test_dup row = CSV::Row.new(["A"], ["foo"]) dupped_row = row.dup + dupped_row["A"] = "bar" + assert_equal(["foo", "bar"], + [row["A"], dupped_row["A"]]) dupped_row.delete("A") assert_equal(["foo", nil], [row["A"], dupped_row["A"]]) |