From 4d6ad02ffd6f375944c8d7619e55bb093f353af6 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Thu, 13 Apr 2023 16:54:10 +0200 Subject: Fix Style/RedundantFileExtensionInRequire offense --- test/content_type/tc_content_type.rb | 2 +- test/content_type/tc_default.rb | 2 +- test/content_type/tc_override.rb | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'test/content_type') diff --git a/test/content_type/tc_content_type.rb b/test/content_type/tc_content_type.rb index 7cbaf5d5..e94f311e 100644 --- a/test/content_type/tc_content_type.rb +++ b/test/content_type/tc_content_type.rb @@ -1,4 +1,4 @@ -require 'tc_helper.rb' +require 'tc_helper' class TestContentType < Test::Unit::TestCase def setup diff --git a/test/content_type/tc_default.rb b/test/content_type/tc_default.rb index 460cf017..e3d8d75e 100644 --- a/test/content_type/tc_default.rb +++ b/test/content_type/tc_default.rb @@ -1,4 +1,4 @@ -require 'tc_helper.rb' +require 'tc_helper' class TestDefault < Test::Unit::TestCase def test_content_type_restriction diff --git a/test/content_type/tc_override.rb b/test/content_type/tc_override.rb index ff00df94..ad0699b5 100644 --- a/test/content_type/tc_override.rb +++ b/test/content_type/tc_override.rb @@ -1,4 +1,5 @@ -require 'tc_helper.rb' +require 'tc_helper' + class TestOverride < Test::Unit::TestCase def test_content_type_restriction assert_raise(ArgumentError, "requires known content type") { Axlsx::Override.new :ContentType => "asdf" } -- cgit v1.2.3