@@ -283,18 +283,18 @@ public void GetChars_WhenSelectText_MoveCharsToBuffer()
283283 Assert . Equal ( $ "dataOffset must be between 0 and { int . MaxValue } ",
284284 Assert . Throws < IndexOutOfRangeException > ( ( ) => ydbDataReader . GetChars ( 0 , - 1 , null , 0 , 6 ) ) . Message ) ;
285285 Assert . Equal ( $ "dataOffset must be between 0 and { int . MaxValue } ",
286- Assert . Throws < IndexOutOfRangeException > (
287- ( ) => ydbDataReader . GetChars ( 0 , long . MaxValue , null , 0 , 6 ) ) . Message ) ;
288-
289- Assert . Equal ( "bufferOffset must be between 0 and 10" , Assert . Throws < IndexOutOfRangeException > (
290- ( ) => ydbDataReader . GetChars ( 0 , 0 , bufferChars , - 1 , 6 ) ) . Message ) ;
291- Assert . Equal ( "bufferOffset must be between 0 and 10" , Assert . Throws < IndexOutOfRangeException > (
292- ( ) => ydbDataReader . GetChars ( 0 , 0 , bufferChars , - 1 , 6 ) ) . Message ) ;
293-
294- Assert . Equal ( "length must be between 0 and 10" , Assert . Throws < IndexOutOfRangeException > (
295- ( ) => ydbDataReader . GetChars ( 0 , 0 , bufferChars , 3 , - 1 ) ) . Message ) ;
296- Assert . Equal ( "bufferOffset must be between 0 and 5" , Assert . Throws < IndexOutOfRangeException > (
297- ( ) => ydbDataReader . GetChars ( 0 , 0 , bufferChars , 8 , 5 ) ) . Message ) ;
286+ Assert . Throws < IndexOutOfRangeException > ( ( ) =>
287+ ydbDataReader . GetChars ( 0 , long . MaxValue , null , 0 , 6 ) ) . Message ) ;
288+
289+ Assert . Equal ( "bufferOffset must be between 0 and 10" ,
290+ Assert . Throws < IndexOutOfRangeException > ( ( ) => ydbDataReader . GetChars ( 0 , 0 , bufferChars , - 1 , 6 ) ) . Message ) ;
291+ Assert . Equal ( "bufferOffset must be between 0 and 10" ,
292+ Assert . Throws < IndexOutOfRangeException > ( ( ) => ydbDataReader . GetChars ( 0 , 0 , bufferChars , - 1 , 6 ) ) . Message ) ;
293+
294+ Assert . Equal ( "length must be between 0 and 10" ,
295+ Assert . Throws < IndexOutOfRangeException > ( ( ) => ydbDataReader . GetChars ( 0 , 0 , bufferChars , 3 , - 1 ) ) . Message ) ;
296+ Assert . Equal ( "bufferOffset must be between 0 and 5" ,
297+ Assert . Throws < IndexOutOfRangeException > ( ( ) => ydbDataReader . GetChars ( 0 , 0 , bufferChars , 8 , 5 ) ) . Message ) ;
298298
299299 Assert . Equal ( 6 , ydbDataReader . GetChars ( 0 , 0 , bufferChars , 4 , 6 ) ) ;
300300 checkBuffer [ 4 ] = 'a' ;
0 commit comments