Permalink
Browse files

add tests for whitespace

  • Loading branch information...
1 parent 9dfecce commit 2705bcbaf54f899ba914f0284e949d53c64d2cde Hugh McGowan committed Jun 27, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test_roo.rb
  2. BIN test/whitespace.ods
View
@@ -2092,7 +2092,7 @@ def test_date_to_float_conversion
# Need to extend to other formats
def test_row_whitespace
- with_each_spreadsheet(:name=>'row_col', :format=>:openoffice) do |oo|
+ with_each_spreadsheet(:name=>'whitespace', :format=>:openoffice) do |oo|
oo.default_sheet = "Sheet1"
assert_equal [nil, nil, nil, nil, nil, nil], oo.row(1)
assert_equal [nil, nil, nil, nil, nil, nil], oo.row(2)
@@ -2108,7 +2108,7 @@ def test_row_whitespace
end
def test_col_whitespace
- with_each_spreadsheet(:name=>'row_col', :format=>:openoffice) do |oo|
+ with_each_spreadsheet(:name=>'whitespace', :format=>:openoffice) do |oo|
oo.default_sheet = "Sheet1"
assert_equal ["Date", Date.new(2007,5,7), nil, Date.new(2007,5,7)], oo.column(1)
assert_equal ["Start time", 9.25, nil, 10.75], oo.column(2)
View
Binary file not shown.

0 comments on commit 2705bcb

Please sign in to comment.