Commit graph

6 commits

Author SHA1 Message Date
Dan Kubb
7293386c26 Add magic encoding header to all ruby files
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
  it produces less output on travis.
2013-07-28 16:03:06 -07:00
Markus Schirp
1105d2c6ce Fix rubocop warnings in Mutant::Mutator namespace 2013-07-27 20:21:27 +02:00
Dan Kubb
b88d3ccc87 Fix mutator to not mutate the rhs in a boolean connective
* If the right hand side of the expression includes a method which
  raises or otherwise exits the control flow we cannot kill that
  mutation. However we can mutate the left hand side, and then
  mutate the whole node so it is negated; in the worst case both
  those mutations will be equivalent, but in the best case the rhs
  will return a boolean which will be negated.
2013-07-25 08:43:41 -07:00
Dan Kubb
7f6980c40a Refactor Mutator::Node::Connective::Binary#mutate_operands 2013-07-24 10:54:33 -07:00
Dan Kubb
23251a25d0 Change connective mutator to mutate the operand boolean context 2013-07-23 23:43:16 -07:00
Dan Kubb
d44115c0b6 Add binary connective mutator 2013-07-23 23:24:26 -07:00