~singpolyma/dhall-ruby

f9b85107c5c6fb822928ae79873cffd31006c2c0 — Stephen Paul Weber 3 years ago 084d1f5
Tests are long for good reasons
2 files changed, 8 insertions(+), 3 deletions(-)

M .rubocop.yml
M test/test_normalization.rb
M .rubocop.yml => .rubocop.yml +8 -0
@@ 4,6 4,14 @@ AllCops:
Metrics/LineLength:
  Max: 80

Metrics/MethodLength:
  Exclude:
    - test/*

Metrics/ClassLength:
  Exclude:
    - test/*

Layout/AlignHash:
  EnforcedHashRocketStyle: table
  EnforcedColonStyle: table

M test/test_normalization.rb => test/test_normalization.rb +0 -3
@@ 10,8 10,6 @@ require "dhall/normalize"
DIRPATH = Pathname.new(File.dirname(__FILE__))
TESTS = DIRPATH + "normalization/"

# Tests are not the place for abstractions, but for concretions
# rubocop:disable Metrics/MethodLength
class TestNormalization < Minitest::Test
	Pathname.glob(TESTS + "**/*A.dhallb").each do |path|
		test = path.relative_path_from(TESTS).to_s.sub(/A\.dhallb$/, "")


@@ 112,4 110,3 @@ class TestNormalization < Minitest::Test
		)
	end
end
# rubocop:enable Metrics/MethodLength