Commit graph

6 commits

Author SHA1 Message Date
Markus Schirp
7f86a53cc4 Add specs for Diff#colorized_diff and fix implementation 2014-08-11 13:58:35 +00:00
Markus Schirp
01f3bf0032 Push static literals into constants 2014-06-29 22:56:08 +00:00
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
8d31d52a93 Sync devtools and fix rubocop warnings 2014-06-08 13:01:26 +00:00
Markus Schirp
d0d1bb2464 Normalize ASTs prior to mutation
This avoids situartions where the source contains (begin, other)
nodes that get mutated to (other) where there is no difference in the
source.

Closes #198
2014-06-08 11:53:50 +00:00
Markus Schirp
336b1b61de Rename Mutant::Differ to Mutant::Diff 2014-05-11 15:04:11 +00:00
Renamed from lib/mutant/differ.rb (Browse further)