Răsfoiți Sursa

BUG: Fix CMake.File test for deep dir name

This fixes the regex checking expected output of Copy-NoFile to account
for line wrapping when the input directory name is long.
Brad King 17 ani în urmă
părinte
comite
1f7ef5bf7a
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Tests/CMakeTests/FileTest.cmake.in

+ 1 - 1
Tests/CMakeTests/FileTest.cmake.in

@@ -11,7 +11,7 @@ set(Copy-LateArg-STDERR "option FILE_PERMISSIONS may not appear after")
 set(Copy-NoDest-RESULT 1)
 set(Copy-NoDest-STDERR "given no DESTINATION")
 set(Copy-NoFile-RESULT 1)
-set(Copy-NoFile-STDERR "COPY cannot find .*/does_not_exist\\.txt")
+set(Copy-NoFile-STDERR "COPY cannot find.*/does_not_exist\\.txt")
 
 foreach(test
     Copy-BadArg