From: Richard Smith Date: Mon, 14 Dec 2020 06:41:19 +0000 (-0800) Subject: Fix test expectation to cope with custom version namespaces. X-Git-Tag: llvmorg-13-init~3533 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7de9c61f3111c8b8bc9e03a7935356e2f372d8b4;p=platform%2Fupstream%2Fllvm.git Fix test expectation to cope with custom version namespaces. --- 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 c325b77..86e6273 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@random:* {{static_assert failed due to requirement '1ULL == 0 || 1ULL < 1ULL' "linear_congruential_engine invalid parameters"}} std::linear_congruential_engine e3; std::linear_congruential_engine e4; - // expected-error@random:* {{static_assert failed due to requirement 'std::__1::is_unsigned::value' "_UIntType must be unsigned type"}} + // expected-error-re@random:* {{static_assert failed due to requirement 'std:{{.*}}:is_unsigned::value' "_UIntType must be unsigned type"}} std::linear_congruential_engine e5; return 0; -} \ No newline at end of file +}