Skip to content

Commit dde6d85

Browse files
committed
fix warning on explicit err expectation
1 parent c8cb267 commit dde6d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/typed_params/validator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
params = TypedParams::Parameterizer.new(schema:).call(value: { foo: { bar: value } })
4343
validator = TypedParams::Validator.new(schema:)
4444

45-
expect { validator.call(params) }.to_not raise_error TypedParams::InvalidParameterError
45+
expect { validator.call(params) }.to_not raise_error
4646
end
4747
end
4848

0 commit comments

Comments
 (0)