summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/tc_package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tc_package.rb b/test/tc_package.rb
index 92368bc6..d4581792 100644
--- a/test/tc_package.rb
+++ b/test/tc_package.rb
@@ -290,7 +290,7 @@ class TestPackage < Test::Unit::TestCase
@package.to_stream # ensure all cell_serializer paths are hit
p = @package.send(:parts)
- assert_equal(1, p.count { |part| part[:entry] =~ %r{xl/sharedStrings.xml} }, "shared strings table missing")
+ assert_equal(1, p.count { |part| part[:entry].include?('xl/sharedStrings.xml') }, "shared strings table missing")
end
def test_workbook_is_a_workbook