diff options
Diffstat (limited to 'test/workbook/worksheet/tc_selection.rb')
| -rw-r--r-- | test/workbook/worksheet/tc_selection.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/workbook/worksheet/tc_selection.rb b/test/workbook/worksheet/tc_selection.rb index d600aa67..d2edc669 100644 --- a/test/workbook/worksheet/tc_selection.rb +++ b/test/workbook/worksheet/tc_selection.rb @@ -1,4 +1,4 @@ -require 'tc_helper.rb' +require 'tc_helper' class TestSelection < Test::Unit::TestCase def setup @@ -9,25 +9,25 @@ class TestSelection < Test::Unit::TestCase def test_active_cell assert_raise(ArgumentError) { @selection.active_cell = :active_cell } assert_nothing_raised { @selection.active_cell = "F5" } - assert_equal(@selection.active_cell, "F5") + assert_equal("F5", @selection.active_cell) end def test_active_cell_id assert_raise(ArgumentError) { @selection.active_cell_id = "foo" } assert_nothing_raised { @selection.active_cell_id = 11 } - assert_equal(@selection.active_cell_id, 11) + assert_equal(11, @selection.active_cell_id) end def test_pane assert_raise(ArgumentError) { @selection.pane = "foo´" } assert_nothing_raised { @selection.pane = :bottom_right } - assert_equal(@selection.pane, "bottomRight") + assert_equal("bottomRight", @selection.pane) end def test_sqref assert_raise(ArgumentError) { @selection.sqref = :sqref } assert_nothing_raised { @selection.sqref = "G32" } - assert_equal(@selection.sqref, "G32") + assert_equal("G32", @selection.sqref) end def test_to_xml |
