Skip to content

Commit

Permalink
Merge pull request #2054 from dawgfoto/fixTestDebug
Browse files Browse the repository at this point in the history
match DMD devel versions
  • Loading branch information
9rnsr committed May 20, 2013
2 parents 22f300e + 51cee10 commit 1d0f38a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/d_do_test.d
Expand Up @@ -439,8 +439,8 @@ int main(string[] args)

if (testArgs.compileOutput !is null)
{
compile_output = std.regex.replace(compile_output, regex(`DMD v2\.[0-9]+ DEBUG\n`, ""), "");
compile_output = std.regex.replace(compile_output, regex(`\nDMD v2\.[0-9]+ DEBUG`, ""), "");
compile_output = std.regex.replace(compile_output, regex(`DMD v2\.[0-9]+.* DEBUG\n`, ""), "");
compile_output = std.regex.replace(compile_output, regex(`\nDMD v2\.[0-9]+.* DEBUG`, ""), "");
enforce(compile_output == testArgs.compileOutput,
"\nexpected:\n----\n"~testArgs.compileOutput~"\n----\nactual:\n----\n"~compile_output~"\n----\n");
}
Expand Down

0 comments on commit 1d0f38a

Please sign in to comment.