summaryrefslogtreecommitdiff
path: root/test/versiontest.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:03:15 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:03:15 +0000
commite739e4603ccd9a5b69a1f2fa6d7163e6ff97e8a8 (patch)
treebd5617bfd1115287eaf3d31f693d031d08436f6f /test/versiontest.cc
parent09217fd87c523e7a5eb1872fd4ac88777c5fdbef (diff)
* Fix error message to output versions in the order in ...
Author: mdz Date: 2003-08-18 15:55:19 GMT * Fix error message to output versions in the order in which they were compared when the reverse comparison fails
Diffstat (limited to 'test/versiontest.cc')
-rw-r--r--test/versiontest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/versiontest.cc b/test/versiontest.cc
index 7ce32e20b..5438eb4de 100644
--- a/test/versiontest.cc
+++ b/test/versiontest.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: versiontest.cc,v 1.4 2003/08/18 15:32:38 mdz Exp $
+// $Id: versiontest.cc,v 1.5 2003/08/18 15:55:19 mdz Exp $
/* ######################################################################
Version Test - Simple program to run through a file and comare versions.
@@ -200,7 +200,7 @@ bool RunTest(const char *File)
Res = 1;
if (Res != Expected)
- _error->Error("Comparison failed on line %u. '%s' ? '%s' %i != %i",CurLine,A.c_str(),B.c_str(),Res,Expected);
+ _error->Error("Comparison failed on line %u. '%s' ? '%s' %i != %i",CurLine,B.c_str(),A.c_str(),Res,Expected);
}
}