@@ -289,8 +289,8 @@ void testBoundsCheckParenthesesOperator1dHelper( int const ilower = 0,
289289TEST ( testCArray, testBoundsCheckParenthesesOperator1d )
290290{
291291 testBoundsCheckParenthesesOperator1dHelper< 2 >();
292- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator1dHelper< 2 >( -1 , -1 );}, " Index out of bounds: " );
293- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator1dHelper< 2 >( 2 , 2 );}, " Index out of bounds: " );
292+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator1dHelper< 2 >( -1 , -1 );}, " " );
293+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator1dHelper< 2 >( 2 , 2 );}, " " );
294294}
295295
296296template < int DIM0 = 2 , int DIM1 = 4 >
@@ -315,14 +315,14 @@ TEST( testCArray, testBoundsCheckParenthesesOperator2d )
315315{
316316 testBoundsCheckParenthesesOperator2dHelper ();
317317
318- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( -1 , -1 , 0 , 3 );}, " Index out of bounds: " );
319- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 2 , 2 , 0 , 3 );}, " Index out of bounds: " );
320- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 0 , 1 , -1 , -1 );}, " Index out of bounds: " );
321- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 0 , 1 , 4 , 4 );}, " Index out of bounds: " );
322- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( -1 , -1 , -1 , -1 );}, " Index out of bounds: " );
323- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( -1 , -1 , 4 , 4 );}, " Index out of bounds: " );
324- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 2 , 2 , -1 , -1 );}, " Index out of bounds: " );
325- EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 2 , 2 , 4 , 4 );}, " Index out of bounds: " );
318+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( -1 , -1 , 0 , 3 );}, " " );
319+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 2 , 2 , 0 , 3 );}, " " );
320+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 0 , 1 , -1 , -1 );}, " " );
321+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 0 , 1 , 4 , 4 );}, " " );
322+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( -1 , -1 , -1 , -1 );}, " " );
323+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( -1 , -1 , 4 , 4 );}, " " );
324+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 2 , 2 , -1 , -1 );}, " " );
325+ EXPECT_DEATH ( {testBoundsCheckParenthesesOperator2dHelper ( 2 , 2 , 4 , 4 );}, " " );
326326
327327}
328328
@@ -344,8 +344,8 @@ TEST( testCArray, testSquareBracketOperator1D )
344344{
345345 testSquareBracketOperator1DHelper ();
346346
347- EXPECT_DEATH ( {testSquareBracketOperator1DHelper< 2 >( -1 , -1 );}, " Index out of bounds: " );
348- EXPECT_DEATH ( {testSquareBracketOperator1DHelper< 2 >( 3 , 3 );}, " Index out of bounds: " );
347+ EXPECT_DEATH ( {testSquareBracketOperator1DHelper< 2 >( -1 , -1 );}, " " );
348+ EXPECT_DEATH ( {testSquareBracketOperator1DHelper< 2 >( 3 , 3 );}, " " );
349349
350350}
351351
0 commit comments