| Index: base/memory/scoped_ptr_unittest.nc
|
| diff --git a/base/memory/scoped_ptr_unittest.nc b/base/memory/scoped_ptr_unittest.nc
|
| index e4a0d94f6b624c10df569a0ea59939f82f7b8b42..ecbeb4ee6e496be408020c19647af5c6ebd3e3e9 100644
|
| --- a/base/memory/scoped_ptr_unittest.nc
|
| +++ b/base/memory/scoped_ptr_unittest.nc
|
| @@ -38,7 +38,7 @@ void WontCompile() {
|
| scoped_ptr<int[10]> x;
|
| }
|
|
|
| -#elif defined(NCTEST_NO_PASS_FROM_ARRAY) // [r"is private"]
|
| +#elif defined(NCTEST_NO_PASS_FROM_ARRAY) // [r"size of array is negative"]
|
|
|
| void WontCompile() {
|
| scoped_ptr<int[]> a;
|
| @@ -61,14 +61,14 @@ void WontCompile() {
|
| scoped_ptr<int*> b(a.Pass());
|
| }
|
|
|
| -#elif defined(NCTEST_NO_CONSTRUCT_TO_ARRAY) // [r"no matching function for call'"]
|
| +#elif defined(NCTEST_NO_CONSTRUCT_TO_ARRAY) // [r"no matching function for call"]
|
|
|
| void WontCompile() {
|
| scoped_ptr<int*> a;
|
| scoped_ptr<int[]> b(a.Pass());
|
| }
|
|
|
| -#elif defined(NCTEST_NO_DELETER_REFERENCE) // [r"fails to be a struct or class type'"]
|
| +#elif defined(NCTEST_NO_DELETER_REFERENCE) // [r"fails to be a struct or class type"]
|
|
|
| struct Deleter {
|
| void operator()(int*) {}
|
|
|