Remove call to obsolete Spec.matches?

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 10:36:38 -03:00
parent ff5c3263ad
commit 889000dba3
1 changed files with 0 additions and 1 deletions

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