Skip to content

Commit

Permalink
Use config specific expected result correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 3, 2015
1 parent 8112aa7 commit 710c2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/drntest/test-runner.rb
Expand Up @@ -103,7 +103,7 @@ def expected_exist?
end

def expected_path
expected_for_config = @target_base_path.sub_ext(".expected#{@target_suffix}")
expected_for_config = @target_base_path.sub_ext(".expected.#{@config.engine_config}")
if expected_for_config.exist?
return expected_for_config
end
Expand Down

0 comments on commit 710c2d3

Please sign in to comment.