diff --git a/spec/ameba/rule/lint/empty_expression_spec.cr b/spec/ameba/rule/lint/empty_expression_spec.cr index 5b6d92b0..c2635a5c 100644 --- a/spec/ameba/rule/lint/empty_expression_spec.cr +++ b/spec/ameba/rule/lint/empty_expression_spec.cr @@ -4,7 +4,7 @@ module Ameba subject = Rule::Lint::EmptyExpression.new private def it_detects_empty_expression(code) - it "detects empty expression" do + it %(detects empty expression "#{code}") do s = Source.new code rule = Rule::Lint::EmptyExpression.new rule.catch(s).should_not be_valid