[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master cd8ae33 5/7: Robustify
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master cd8ae33 5/7: Robustify |
Date: |
Thu, 9 Feb 2017 19:49:26 -0500 (EST) |
branch: master
commit cd8ae3304fd4f14a22c11aefd9ed2037887d3f42
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Robustify
We might change '#' someday, and we want to change '*' soon,
so those characters shouldn't be mentioned in literal text.
---
test_tools_test.cpp | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/test_tools_test.cpp b/test_tools_test.cpp
index a86f2bc..80aa973 100644
--- a/test_tools_test.cpp
+++ b/test_tools_test.cpp
@@ -95,9 +95,10 @@ int test_main(int, char*[])
std::cout
<< "\n[This is a test of the testing framework's error-reporting"
<< "\nfacilities. It is contrived to report simulated errors,"
- << "\nwhich are marked with four '#' rather than '*' characters"
- << "\nand are excluded from the count of real errors reported"
- << "\nupon exit.]"
+ << "\nwhich are marked thus:"
+ << lmi_test::error_prefix << "(simulation of simulated error)"
+ << "\nto distinguish them from real errors and are excluded from"
+ << "\nthe count of real errors reported upon exit.]"
<< std::endl
;
lmi_test::test::test_tools_errors = 0;
- [lmi-commits] [lmi] master updated (39d1ed2 -> a306d67), Greg Chicares, 2017/02/09
- [lmi-commits] [lmi] master b15bc70 2/7: Declare error_prefix where all unit-test code can see it, Greg Chicares, 2017/02/09
- [lmi-commits] [lmi] master 169b029 1/7: Move error_prefix to a different namespace, Greg Chicares, 2017/02/09
- [lmi-commits] [lmi] master d4e4860 3/7: Define a default error prefix, Greg Chicares, 2017/02/09
- [lmi-commits] [lmi] master cd8ae33 5/7: Robustify,
Greg Chicares <=
- [lmi-commits] [lmi] master 1f9ca3c 6/7: Add success_prefix to complement error_prefix, Greg Chicares, 2017/02/09
- [lmi-commits] [lmi] master a306d67 7/7: Use a more distinctive marker for test failures, Greg Chicares, 2017/02/09
- [lmi-commits] [lmi] master 2fc9371 4/7: Use (default_)error_prefix in other appropriate cases, Greg Chicares, 2017/02/09