Remove call to obsolete Spec.matches? (#111)

It was an optimization but it does not work (and is not needed) since the changes in spec for Crystal 0.31
This commit is contained in:
Brian J. Cardiff 2019-09-12 11:04:34 -03:00 committed by GitHub
parent ff5c3263ad
commit af6d837bcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,6 @@ module DB
getter its = [] of SpecIt
def it(description = "assert", prepared = :default, file = __FILE__, line = __LINE__, end_line = __END_LINE__, &block : DB::Database ->)
return unless Spec.matches?(description, file, line, end_line)
@its << SpecIt.new(description, prepared, file, line, end_line, block)
end