mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
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:
parent
ff5c3263ad
commit
889000dba3
1 changed files with 0 additions and 1 deletions
|
@ -123,7 +123,6 @@ module DB
|
||||||
getter its = [] of SpecIt
|
getter its = [] of SpecIt
|
||||||
|
|
||||||
def it(description = "assert", prepared = :default, file = __FILE__, line = __LINE__, end_line = __END_LINE__, &block : DB::Database ->)
|
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)
|
@its << SpecIt.new(description, prepared, file, line, end_line, block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue