From 889000dba3e0e6811c0a555cfab5247b9bf65325 Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Thu, 12 Sep 2019 10:36:38 -0300 Subject: [PATCH] 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 --- src/spec.cr | 1 - 1 file changed, 1 deletion(-) diff --git a/src/spec.cr b/src/spec.cr index 0599058..65d12c3 100644 --- a/src/spec.cr +++ b/src/spec.cr @@ -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