Fixed so prints expected file then actual, as expected (no pun intended)
parent
26cae48338
commit
47e9016693
|
@ -89,7 +89,7 @@ bool files_equal(const string& expected, const string& actual, bool skipheader)
|
||||||
bool equal = actual_contents == expected_contents;
|
bool equal = actual_contents == expected_contents;
|
||||||
if (!equal) {
|
if (!equal) {
|
||||||
stringstream command;
|
stringstream command;
|
||||||
command << "diff " << actual << " " << expected << endl;
|
command << "diff " << expected << " " << actual << endl;
|
||||||
system(command.str().c_str());
|
system(command.str().c_str());
|
||||||
}
|
}
|
||||||
return equal;
|
return equal;
|
||||||
|
|
Loading…
Reference in New Issue