From fef93ec8ae2caf8a3f8310dbf8101c103e5905e4 Mon Sep 17 00:00:00 2001 From: Paul Kmiec Date: Thu, 4 May 2023 18:01:01 -0700 Subject: Enable Style/FrozenStringLiteralComment and autocorrect --- test/tc_axlsx.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/tc_axlsx.rb') 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 -- cgit v1.2.3