Răsfoiți Sursa

Doc: fix example for FAIL_REGULAR_EXPRESSION

The example used PASS_REGULAR_EXPRESSION instead of FAIL...
Rolf Eike Beer 12 ani în urmă
părinte
comite
74228e8486
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/cmTest.cxx

+ 1 - 1
Source/cmTest.cxx

@@ -135,7 +135,7 @@ void cmTest::DefineProperties(cmake *cm)
      "If the output matches this regular expression the test will fail.",
      "If set, if the output matches one of "
      "specified regular expressions, the test will fail."
-     "For example: PASS_REGULAR_EXPRESSION \"[^a-z]Error;ERROR;Failed\"");
+     "For example: FAIL_REGULAR_EXPRESSION \"[^a-z]Error;ERROR;Failed\"");
 
   cm->DefineProperty
     ("LABELS", cmProperty::TEST,