Sha256: 0f3be2d2d4fd5e363c875f78229c5cef7439624ed21b0b69eed6ca9cdc1e8e22
Contents?: true
Size: 713 Bytes
Versions: 27
Compression:
Stored size: 713 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Mutant::Mutator::Node::LoopControl do context 'with break node' do let(:source) { 'break true' } let(:mutations) do mutations = [] mutations << 'break false' mutations << 'break nil' mutations << 'break' mutations << 'nil' mutations << 'next true' end it_should_behave_like 'a mutator' end context 'with next node' do let(:source) { 'next true' } let(:mutations) do mutations = [] mutations << 'next false' mutations << 'next nil' mutations << 'next' mutations << 'nil' mutations << 'break true' end it_should_behave_like 'a mutator' end end
Version data entries
27 entries across 27 versions & 1 rubygems