summaryrefslogtreecommitdiffhomepage
path: root/test/util
diff options
context:
space:
mode:
authorArtem Kozaev <[email protected]>2020-11-27 18:51:01 +0300
committerArtem Kozaev <[email protected]>2020-11-27 18:51:01 +0300
commit155840c2772c964f9793683db7a2de95b7bd9027 (patch)
treea95814de902ffa78b008a024c7d46ac2ab5ec4d0 /test/util
parent93ecd05c7ad587a60361b042ab9d692391e40e3b (diff)
downloadcaxlsx-155840c2772c964f9793683db7a2de95b7bd9027.tar.gz
caxlsx-155840c2772c964f9793683db7a2de95b7bd9027.zip
Add casting to date
Add tests
Diffstat (limited to 'test/util')
-rw-r--r--test/util/tc_validators.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util/tc_validators.rb b/test/util/tc_validators.rb
index 6effac51..d6936496 100644
--- a/test/util/tc_validators.rb
+++ b/test/util/tc_validators.rb
@@ -127,7 +127,7 @@ class TestValidators < Test::Unit::TestCase
assert_raise(ArgumentError) { Axlsx.validate_data_validation_error_style 0 }
#data_validation_type
- [:custom, :data, :decimal, :list, :none, :textLength, :time, :whole].each do |sym|
+ [:custom, :data, :decimal, :list, :none, :textLength, :date, :time, :whole].each do |sym|
assert_nothing_raised { Axlsx.validate_data_validation_type sym }
end
assert_raise(ArgumentError) { Axlsx.validate_data_validation_error_style :other_symbol }