diff --git a/spec/support/mutation_verifier.rb b/spec/support/mutation_verifier.rb index fa7f49cb..9c9921c2 100644 --- a/spec/support/mutation_verifier.rb +++ b/spec/support/mutation_verifier.rb @@ -93,4 +93,3 @@ private end memoize :unparser end # MutationVerifier - diff --git a/spec/unit/mutant/mutator/node/named_value/access_spec.rb b/spec/unit/mutant/mutator/node/named_value/access_spec.rb index 1c778626..54bde4e9 100644 --- a/spec/unit/mutant/mutator/node/named_value/access_spec.rb +++ b/spec/unit/mutant/mutator/node/named_value/access_spec.rb @@ -61,7 +61,7 @@ describe Mutant::Mutator::Node::NamedValue::Access, 'mutations' do mutants << 'a = nil; nil' mutants << 'a = nil' mutants << 'a = ::Object.new; a' - # TODO: + # TODO: fix invalid AST # These ASTs are not valid and should NOT be emitted # Mutations of lvarasgn need to be special cased to avoid this. mutants << s(:begin, s(:lvasgn, :srandom, s(:nil)), s(:lvar, :a)) diff --git a/spec/unit/mutant/mutator/node/op_assgn_spec.rb b/spec/unit/mutant/mutator/node/op_assgn_spec.rb index 2dfcaf26..5c044108 100644 --- a/spec/unit/mutant/mutator/node/op_assgn_spec.rb +++ b/spec/unit/mutant/mutator/node/op_assgn_spec.rb @@ -16,7 +16,7 @@ describe Mutant::Mutator::Node::Generic, 'op_asgn' do mutations << '@a.b += 5' mutations << 'nil.b += 1' mutations << 'nil' - # TODO: + # TODO: fix invalid AST # This should not get emitted as invalid AST with valid unparsed source mutations << s(:op_asgn, s(:ivar, :@a), :+, s(:int, 1)) end