diff options
| author | Paul Kmiec <[email protected]> | 2023-05-04 18:01:01 -0700 |
|---|---|---|
| committer | Paul Kmiec <[email protected]> | 2023-05-04 18:02:55 -0700 |
| commit | fef93ec8ae2caf8a3f8310dbf8101c103e5905e4 (patch) | |
| tree | baf17c508f1be8cb3fd38c5071a7de47ba3945bb /test/tc_axlsx.rb | |
| parent | 086e78d0d1f0896b6ca5f48b4873e861212f94aa (diff) | |
| download | caxlsx-fef93ec8ae2caf8a3f8310dbf8101c103e5905e4.tar.gz caxlsx-fef93ec8ae2caf8a3f8310dbf8101c103e5905e4.zip | |
Enable Style/FrozenStringLiteralComment and autocorrect
Diffstat (limited to 'test/tc_axlsx.rb')
| -rw-r--r-- | test/tc_axlsx.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tc_axlsx.rb b/test/tc_axlsx.rb index 21c0c82a..d1c47b47 100644 --- a/test/tc_axlsx.rb +++ b/test/tc_axlsx.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'tc_helper' class TestAxlsx < Test::Unit::TestCase @@ -92,7 +94,7 @@ class TestAxlsx < Test::Unit::TestCase end def test_sanitize_frozen_control_strippped - needs_sanitize = "legit\x08".freeze # Backspace control char + needs_sanitize = "legit\x08" # Backspace control char assert_equal('legit', Axlsx.sanitize(needs_sanitize), 'should strip control chars') end |
