From e81036b76e734ab03fac31faafb9732f6b3b2928 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Thu, 13 Apr 2023 13:09:14 +0200 Subject: Fix offenses to non-production code - Lint/AmbiguousBlockAssociation - Lint/AmbiguousOperatorPrecedence - Lint/EmptyBlock - Lint/RedundantSplatExpansion - Lint/RedundantStringCoercion - Lint/SymbolConversion - Lint/UnusedBlockArgument - Style/BlockDelimiters - Style/CommentAnnotation - Style/EachForSimpleLoop - Style/EmptyMethod - Style/ExpandPathArguments - Style/FileWrite - Style/GlobalStdStream (UNSAFE) - Style/HashEachMethods (UNSAFE) - Style/NestedParenthesizedCalls - Style/NilComparison - Style/NumericLiteralPrefix (manually fixed) - Style/ParallelAssignment - Style/PreferredHashMethods (UNSAFE) - Style/RedundantInterpolation (UNSAFE) - Style/RedundantParentheses (UNSAFE) - Style/RegexpLiteral - Style/RescueStandardError - Style/SpecialGlobalVars (UNSAFE) - Style/SymbolProc (UNSAFE) - Style/ZeroLengthPredicate (UNSAFE) --- test/drawing/tc_num_data.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/drawing/tc_num_data.rb') diff --git a/test/drawing/tc_num_data.rb b/test/drawing/tc_num_data.rb index 7e7e12e3..10e35785 100644 --- a/test/drawing/tc_num_data.rb +++ b/test/drawing/tc_num_data.rb @@ -9,8 +9,7 @@ class TestNumData < Test::Unit::TestCase assert_equal(@num_data.format_code, "General") end - def test_formula_based_cell - end + def test_formula_based_cell; end def test_format_code assert_raise(ArgumentError) { @num_data.format_code = 7 } -- cgit v1.2.3