lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 116c2e2 4/4: Remove temporary tests that are


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 116c2e2 4/4: Remove temporary tests that are no longer wanted
Date: Thu, 2 Feb 2017 02:13:13 +0000 (UTC)

branch: master
commit 116c2e26e5aa3f00f64bcf2c21fb528eda10949f
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove temporary tests that are no longer wanted
---
 input_seq_test.cpp |   20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/input_seq_test.cpp b/input_seq_test.cpp
index 339bc3f..b4590eb 100644
--- a/input_seq_test.cpp
+++ b/input_seq_test.cpp
@@ -108,26 +108,6 @@ int test_main(int, char*[])
     //     w: default keyword
     //     o: keywords only
 
-    // Demonstrate a defect: the "expected" error message is of course
-    // not observed, but that should be reported.
-    {
-    int const n = 1;
-    double const d[n] = {0};
-    std::string const e(" ");
-    char const* m = "A mistakenly expected error message.";
-    check(__FILE__, __LINE__, d, n, e, m);
-    }
-
-    // Demonstrate a defect: [21.4.2/9] "shall not be a null pointer".
-    // Typing "m = 0" is a plausible mistake.
-    {
-    int const n = 1;
-    double const d[n] = {0};
-    std::string const e("0 [0,0)");
-    char const* m = 0;
-    check(__FILE__, __LINE__, d, n, e, m);
-    }
-
     // An all-blank string is treated as zero.
     {
     int const n = 9;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]