summaryrefslogtreecommitdiffhomepage
path: root/test/tc_axlsx.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_axlsx.rb')
-rw-r--r--test/tc_axlsx.rb4
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