From 84ba59664fb235977ccb83c774a27397952100af Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Thu, 29 May 2014 20:27:13 +0000 Subject: [PATCH] Prefer frozen constant over mutable literal --- lib/mutant/strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mutant/strategy.rb b/lib/mutant/strategy.rb index 78a417f5..0e033cff 100644 --- a/lib/mutant/strategy.rb +++ b/lib/mutant/strategy.rb @@ -80,7 +80,7 @@ module Mutant return tests if tests.any? end - [] + EMPTY_ARRAY end # Null strategy that never kills a mutation