Sha256: d81966fcc1b5863f21b59a132ce5211b5df3ba07b4376629bd92a7369dec1890
Contents?: true
Size: 477 Bytes
Versions: 20
Compression:
Stored size: 477 Bytes
Contents
require 'spec_helper' describe Mutant::Mutator::Node::While do context 'with more than one statement' do let(:source) { "while true; foo; bar; end" } let(:mutations) do mutations = [] mutations << 'while true; bar; end' mutations << 'while true; foo; end' mutations << 'while true; end' mutations << 'while false; foo; bar; end' mutations << 'while nil; foo; bar; end' end it_should_behave_like 'a mutator' end end
Version data entries
20 entries across 20 versions & 1 rubygems