[libcxx-commits] [libcxx] 7de9c61 - Fix test expectation to cope with custom version namespaces.

Richard Smith via libcxx-commits libcxx-commits at lists.llvm.org
Sun Dec 13 22:43:41 PST 2020


Author: Richard Smith
Date: 2020-12-13T22:43:24-08:00
New Revision: 7de9c61f3111c8b8bc9e03a7935356e2f372d8b4

URL: https://github.com/llvm/llvm-project/commit/7de9c61f3111c8b8bc9e03a7935356e2f372d8b4
DIFF: https://github.com/llvm/llvm-project/commit/7de9c61f3111c8b8bc9e03a7935356e2f372d8b4.diff

LOG: Fix test expectation to cope with custom version namespaces.

Added: 
    

Modified: 
    libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp b/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp
index c325b77734bd..86e627344a48 100644
--- a/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp
+++ b/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp
@@ -24,8 +24,8 @@ int main(int, char**)
     // expected-error at random:* {{static_assert failed due to requirement '1ULL == 0 || 1ULL < 1ULL' "linear_congruential_engine invalid parameters"}}
     std::linear_congruential_engine<T, 0, 1, 1> e3;
     std::linear_congruential_engine<T, 1, 0, 1> e4;
-    // expected-error at random:* {{static_assert failed due to requirement 'std::__1::is_unsigned<int>::value' "_UIntType must be unsigned type"}}
+    // expected-error-re at random:* {{static_assert failed due to requirement 'std:{{.*}}:is_unsigned<int>::value' "_UIntType must be unsigned type"}}
     std::linear_congruential_engine<int, 0, 0, 0> e5;
 
     return 0;
-}
\ No newline at end of file
+}


        


More information about the libcxx-commits mailing list