Parcourir la source

[2094] corrected an error message.

JINMEI Tatuya il y a 12 ans
Parent
commit
eec907bdcb
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/lib/util/unittests/wiredata.cc

+ 2 - 2
src/lib/util/unittests/wiredata.cc

@@ -35,8 +35,8 @@ matchWireData(const void* expected_data, size_t expected_len,
         const int abyte = static_cast<const uint8_t*>(actual_data)[i];
         if (ebyte != abyte) {
             FAIL() << "Wire data mismatch at " << i << "th byte\n"
-                   << "  Actual: " << ebyte << "\n"
-                   << "Expected: " << abyte << "\n";
+                   << "  Actual: " << abyte << "\n"
+                   << "Expected: " << ebyte << "\n";
             return;
         }
     }