Fix corpus test execution to be deterministic

This commit is contained in:
Markus Schirp 2014-04-06 22:25:51 +00:00
parent 3d585de69a
commit 20beeb5af8

View file

@ -20,7 +20,7 @@ describe 'Mutant on ruby corpus' do
#
def verify
checkout
Pathname.glob(repo_path.join('**/*.rb')).each do |path|
Pathname.glob(repo_path.join('**/*.rb')).sort.each do |path|
node = Parser::CurrentRuby.parse(path.read)
count = 0
Mutant::Mutator::Node.each(node) do |mutant|