Sha256: 49fd3b6e8a5cb090c7e03ba2e7267ff412670e2c9b3fd7dc93ab0a9425567fda

Contents?: true

Size: 289 Bytes

Versions: 19

Compression:

Stored size: 289 Bytes

Contents

require 'spec_helper'

describe Mutant::Mutator::Node::Literal, 'regex' do

  let(:source) { '/foo/' }

  let(:mutations) do
    mutations = []
    mutations << 'nil'
    mutations << '//' # match all
    mutations << '/a\A/' # match nothing
  end

  it_should_behave_like 'a mutator'
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mutant-0.3.0.beta20 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta19 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta18 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta17 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta16 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta15 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta14 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta13 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta12 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta11 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta10 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta9 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta8 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta7 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta6 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta5 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta4 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta3 spec/unit/mutant/mutator/node/literal/regex_spec.rb
mutant-0.3.0.beta2 spec/unit/mutant/mutator/node/literal/regex_spec.rb