diff options
| author | 2019-01-14 01:41:26 -0500 | |
|---|---|---|
| committer | 2019-01-14 01:41:26 -0500 | |
| commit | 6aa7e04e06423e7d92ede727489ea346e88f7108 (patch) | |
| tree | 9bdec92fd17898b662235bc0a491de827990130c /test/excelx/cell/test_empty.rb | |
| parent | c59817e300dbe1aab3120cad603cdb14b14ed78b (diff) | |
| parent | dddfa903d2b856146f05ffb4415c31d6127bb5bf (diff) | |
Update upstream source from tag 'upstream/2.8.0'
Update to upstream version '2.8.0'
with Debian dir 569f5866fbcf4e449c6c48dc5d20a3ab54f95252
Diffstat (limited to 'test/excelx/cell/test_empty.rb')
| -rw-r--r-- | test/excelx/cell/test_empty.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/excelx/cell/test_empty.rb b/test/excelx/cell/test_empty.rb index 8263714..e502a1d 100644 --- a/test/excelx/cell/test_empty.rb +++ b/test/excelx/cell/test_empty.rb @@ -4,4 +4,15 @@ class TestRooExcelxCellEmpty < Minitest::Test def empty Roo::Excelx::Cell::Empty end + + def test_empty? + cell = empty.new(nil) + assert_same true, cell.empty? + end + + def test_nil_presence + cell = empty.new(nil) + assert_nil cell.presence + end + end |
