Index: base/bind_unittest.nc |
diff --git a/base/bind_unittest.nc b/base/bind_unittest.nc |
index 24a345d260ff3f9f30aae7db0776c589f6a4b792..e79b45eed68ba1b65cf21b8230d1890f10292549 100644 |
--- a/base/bind_unittest.nc |
+++ b/base/bind_unittest.nc |
@@ -203,7 +203,7 @@ void WontCompile() { |
Closure callback_mismatches_bind_type = Bind(&VoidPolymorphic1<int>); |
} |
-#elif defined(NCTEST_DISALLOW_CAPTURING_LAMBDA) // [r"fatal error: implicit instantiation of undefined template 'base::internal::FunctorTraits<\(lambda at ../../base/bind_unittest.nc:[0-9]+:[0-9]+\), void>'"] |
+#elif defined(NCTEST_DISALLOW_CAPTURING_LAMBDA) // [r"fatal error: implicit instantiation of undefined template 'base::internal::FunctorTraits<\(lambda at [^ ]+/base/bind_unittest.nc:[0-9]+:[0-9]+\), void>'"] |
dcheng
2016/12/23 05:46:46
Nit: slightly more precise might be (\.\./)+
wychen
2016/12/23 06:55:00
Done.
|
void WontCompile() { |
int i = 0; |