diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-13 13:09:14 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-03 16:05:17 +0200 |
| commit | e81036b76e734ab03fac31faafb9732f6b3b2928 (patch) | |
| tree | 4a5944faddeac7aa574a26955d41f4901fccc038 /test/tc_axlsx.rb | |
| parent | 194e852d4f61d7c1acf4cd79df86bee43d84028a (diff) | |
| download | caxlsx-e81036b76e734ab03fac31faafb9732f6b3b2928.tar.gz caxlsx-e81036b76e734ab03fac31faafb9732f6b3b2928.zip | |
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)
Diffstat (limited to 'test/tc_axlsx.rb')
| -rw-r--r-- | test/tc_axlsx.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/tc_axlsx.rb b/test/tc_axlsx.rb index 73fdd9ab..ccfdbfab 100644 --- a/test/tc_axlsx.rb +++ b/test/tc_axlsx.rb @@ -3,14 +3,14 @@ require 'tc_helper.rb' class TestAxlsx < Test::Unit::TestCase def setup_wide @wide_test_points = { - "A3" => 0, - "Z3" => 25, - "B3" => 1, - "AA3" => 1 * 26 + 0, - "AAA3" => 1 * 26**2 + 1 * 26 + 0, - "AAZ3" => 1 * 26**2 + 1 * 26 + 25, - "ABA3" => 1 * 26**2 + 2 * 26 + 0, - "BZU3" => 2 * 26**2 + 26 * 26 + 20 + "A3" => 0, + "Z3" => 25, + "B3" => 1, + "AA3" => (1 * 26) + 0, + "AAA3" => (1 * (26**2)) + (1 * 26) + 0, + "AAZ3" => (1 * (26**2)) + (1 * 26) + 25, + "ABA3" => (1 * (26**2)) + (2 * 26) + 0, + "BZU3" => (2 * (26**2)) + (26 * 26) + 20 } end |
