From 7985d19345e54bb17fc95f1ee1d7ca81ffda6652 Mon Sep 17 00:00:00 2001 From: Dan Kubb Date: Sun, 28 Jul 2013 15:14:03 -0700 Subject: [PATCH] Add missing while node to list of possible nodes --- lib/mutant/constants.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mutant/constants.rb b/lib/mutant/constants.rb index a4fec844..d9ba9415 100644 --- a/lib/mutant/constants.rb +++ b/lib/mutant/constants.rb @@ -77,7 +77,7 @@ module Mutant :xstr, :def, :defs, :case, :when, :ivar, :lvar, :cvar, :gvar, :back_ref, :const, :nth_ref, :class, :sclass, :yield, :match_with_lvasgn, :match_current_line, :irange, :erange, - :or_asgn, :kwbegin, :and_asgn + :or_asgn, :kwbegin, :and_asgn, :while ].to_set.freeze end # Mutant