Skip to content

Commit

Permalink
Fix sort issue on Win7 env (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxygem authored Oct 11, 2017
1 parent de4e235 commit a1a4c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/cucumber/cli/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def reset_config
it 'associates --out to previous --format' do
config.parse!(%w{--format progress --out file1 --format profile --out file2})

expect(config.formats).to eq [['progress', {}, 'file1'], ['profile', {}, 'file2']]
expect(config.formats).to match_array([['progress', {}, 'file1'], ['profile', {}, 'file2']])
end

it 'accepts same --format options with same --out streams and keep only one' do
Expand All @@ -302,7 +302,7 @@ def reset_config
it 'accepts same --format options with different --out streams' do
config.parse!(%w{--format html --out file1 --format html --out file2})

expect(config.formats).to eq [['html', {}, 'file1'], ['html', {}, 'file2']]
expect(config.formats).to match_array([['html', {}, 'file1'], ['html', {}, 'file2']])
end

it 'accepts --color option' do
Expand Down

0 comments on commit a1a4c5f

Please sign in to comment.