Commit graph

7 commits

Author SHA1 Message Date
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
a98319650b Remove nil => Object.new mutation
Mutation operators should *always* mutate to a less powerfull structure
/ less complex semantics. To force tests to prove complex semantics are
needed. The mutation removed with that commit violates that principle.
2014-05-09 20:09:09 +00:00
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
586a4d3e1b Use constant nodes when possible 2013-06-21 15:07:40 +02:00
Markus Schirp
40259170e7 Port literal nil mutator to parser 2013-06-14 21:11:54 +02:00
Markus Schirp
6b2e2a8bb0 Initial round of refactoring
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00
Markus Schirp
69e9de95ed Extract node specific mutator base class 2012-12-06 21:30:28 +01:00