summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sharding/auto2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/auto2.js b/jstests/sharding/auto2.js
index 457dffe263e..01290b73dd5 100644
--- a/jstests/sharding/auto2.js
+++ b/jstests/sharding/auto2.js
@@ -138,7 +138,7 @@ for ( i=0; i<20; i++ ){
print( "checkpoint G")
-assert.throws( function(){ s.getDB( "test" ).foo.find().sort( { s : 1 } ).forEach( printjsononeline ) } )
+assert.throws( function(){ s.getDB( "test" ).foo.find().sort( { s : 1 } ).forEach( function( x ){ printjsononeline( x.substring( 0, x.length > 30 ? 30 : x.length ) ) } ) } )
print( "checkpoint H")