Remove redundant encoding comment

* Mutant is ruby 2.0+ only where UTF-8 is default encoding
This commit is contained in:
Markus Schirp 2015-04-27 21:07:28 +00:00
parent 7b8a165f19
commit c392cb5e4b
59 changed files with 0 additions and 118 deletions

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'true and false'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'a &&= 1'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '[true]'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'true; false'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'foo { a; b }'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'foo(&bar)'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'foo { |&bar| }'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'break true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source <<-RUBY
case

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'A = true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '::A'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'A::B::C'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '@@a'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '@@a = true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'def foo; end'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'defined?(foo)'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '"foo#{bar}baz"'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source ':"foo#{bar}baz"'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'begin; rescue; ensure; true; end'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'false'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '10.0'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '$a'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '$a = true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '{true => true, false => false}'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'if condition; true; else false; end'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '10'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '@a = true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'begin; true; end'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'a = nil; a'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'a = true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'a, b = c, d'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'true if /foo/'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'next true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'nil'
end

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '$1'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '@a.b += 1'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'true or false'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'a ||= 1'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '1..100'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'redo'
end

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '/foo/'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'begin; rescue ExceptionA, ExceptionB => error; true; end'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'foo(*bar)'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'return'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'self'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'a > b'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source '"foo"'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'super'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source ':foo'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'until true; foo; bar; end'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'while true; foo; bar; end'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'yield true'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
original = $VERBOSE
# Namespace for test application
# Silence intentional violations

View file

@ -1,5 +1,3 @@
# encoding: utf-8
module TestApp
# Class for integration testing literal mutations
class Literal

View file

@ -1,5 +1,3 @@
# encoding: utf-8
$LOAD_PATH << File.join(File.dirname(__FILE__), '../lib')
require 'test_app'

View file

@ -1,5 +1,3 @@
# encoding: utf-8
require 'spec_helper'
RSpec.describe TestApp::Literal, '#command' do

View file

@ -1,5 +1,3 @@
# encoding: utf-8
require 'spec_helper'
RSpec.describe TestApp::Literal, '#string' do