From 47e90166938a5c80b2562a464974454967aa45d8 Mon Sep 17 00:00:00 2001 From: dellaert Date: Sun, 25 May 2014 13:02:54 -0400 Subject: [PATCH] Fixed so prints expected file then actual, as expected (no pun intended) --- wrap/utilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/utilities.cpp b/wrap/utilities.cpp index 1acc50db1..870ba3101 100644 --- a/wrap/utilities.cpp +++ b/wrap/utilities.cpp @@ -89,7 +89,7 @@ bool files_equal(const string& expected, const string& actual, bool skipheader) bool equal = actual_contents == expected_contents; if (!equal) { stringstream command; - command << "diff " << actual << " " << expected << endl; + command << "diff " << expected << " " << actual << endl; system(command.str().c_str()); } return equal;