diff --git a/bin/mutant b/bin/mutant index 9c114ccb..48711550 100755 --- a/bin/mutant +++ b/bin/mutant @@ -1,5 +1,4 @@ #!/usr/bin/env ruby -# encoding: utf-8 trap('INT') do |status| exit! 128 + status diff --git a/lib/mutant/integration/rspec.rb b/lib/mutant/integration/rspec.rb index aee71a37..22d90a93 100644 --- a/lib/mutant/integration/rspec.rb +++ b/lib/mutant/integration/rspec.rb @@ -1,4 +1,3 @@ -# encoding: UTF-8 require 'rspec/core' require 'rspec/core/formatters/base_text_formatter' diff --git a/lib/mutant/meta/example.rb b/lib/mutant/meta/example.rb index cc0b9362..3dab2f31 100644 --- a/lib/mutant/meta/example.rb +++ b/lib/mutant/meta/example.rb @@ -1,5 +1,3 @@ -# encoding: UTF-8 - module Mutant module Meta class Example diff --git a/lib/mutant/mutator/node/resbody.rb b/lib/mutant/mutator/node/resbody.rb index 9c37ef73..811761d0 100644 --- a/lib/mutant/mutator/node/resbody.rb +++ b/lib/mutant/mutator/node/resbody.rb @@ -1,5 +1,3 @@ -# encoding: UTF-8 - module Mutant class Mutator class Node diff --git a/lib/mutant/mutator/node/send/index.rb b/lib/mutant/mutator/node/send/index.rb index 5fbc6cc0..b6dd9fea 100644 --- a/lib/mutant/mutator/node/send/index.rb +++ b/lib/mutant/mutator/node/send/index.rb @@ -1,5 +1,3 @@ -# encoding: UTF-8 - module Mutant class Mutator class Node diff --git a/lib/mutant/warning_filter.rb b/lib/mutant/warning_filter.rb index 09315195..bb7905db 100644 --- a/lib/mutant/warning_filter.rb +++ b/lib/mutant/warning_filter.rb @@ -1,5 +1,3 @@ -# encoding: UTF-8 - module Mutant # Stream filter for warnings class WarningFilter diff --git a/spec/support/mutation_verifier.rb b/spec/support/mutation_verifier.rb index e63294ad..00b2b74f 100644 --- a/spec/support/mutation_verifier.rb +++ b/spec/support/mutation_verifier.rb @@ -1,5 +1,3 @@ -# encoding: UTF-8 - class MutationVerifier include Adamantium::Flat, Concord.new(:original_node, :expected, :generated)