From bed1d26904e041cda169c07e3484dcd2e99350d9 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 18 Sep 2006 22:21:50 +0000 Subject: [PATCH] Return an int, not a string, on success from check_numeric_array_rich_slice, since that's what the tests expect. [SVN r35184] --- test/slice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/slice.cpp b/test/slice.cpp index 491dcbad..f25c9017 100644 --- a/test/slice.cpp +++ b/test/slice.cpp @@ -87,7 +87,7 @@ object check_numeric_array_rich_slice() // original[:-3:-1, :-3,-1] == array( [[44, 43], [34, 33]]) ASSERT_EQUAL(original[make_tuple( slice(_,-3,-1), slice(_,-3,-1))],lower_right_quadrant_reversed); - return str(1); + return object(1); } // Verify functions accepting a slice argument can be called