aboutsummaryrefslogtreecommitdiffstats
path: root/test/excelx/cell/test_base.rb
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-01-14 01:40:56 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-01-14 01:40:56 -0500
commitdddfa903d2b856146f05ffb4415c31d6127bb5bf (patch)
treee38c2aca92b54f06ccd0185f48dc47e3e1b3d77e /test/excelx/cell/test_base.rb
parent8280a21a23d44aa90177e2bc041d0b8dc8556f4b (diff)
New upstream version 2.8.0upstream/2.8.0
Diffstat (limited to 'test/excelx/cell/test_base.rb')
-rw-r--r--test/excelx/cell/test_base.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/excelx/cell/test_base.rb b/test/excelx/cell/test_base.rb
index 17c83be..e3d0c7c 100644
--- a/test/excelx/cell/test_base.rb
+++ b/test/excelx/cell/test_base.rb
@@ -25,6 +25,11 @@ class TestRooExcelxCellBase < Minitest::Test
refute cell.empty?
end
+ def test_presence
+ cell = base.new(value, nil, [], nil, nil, nil)
+ assert_equal cell, cell.presence
+ end
+
def test_cell_type_is_formula
formula = true
cell = base.new(value, formula, [], nil, nil, nil)