File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public override void ExecuteReader_throws_when_transaction_required()
5858 } ) ;
5959 }
6060 }
61-
61+
6262 public override async Task ExecuteReaderAsync_is_canceled ( )
6363 {
6464 await using var connection = CreateOpenConnection ( ) ;
Original file line number Diff line number Diff line change @@ -66,14 +66,16 @@ public void YdbValue_WhenYdbValueIsSet_ReturnThis()
6666 public void YdbValue_WhenUnCastTypes_ThrowInvalidCastException ( )
6767 {
6868 Assert . Equal ( "Writing value of 'System.Int32' is not supported for parameters having DbType 'Boolean'" ,
69- Assert . Throws < InvalidOperationException > ( ( ) => new YdbParameter ( "$var" , DbType . Boolean , 1 ) . YdbValue ) . Message ) ;
69+ Assert . Throws < InvalidOperationException > ( ( ) => new YdbParameter ( "$var" , DbType . Boolean , 1 ) . YdbValue )
70+ . Message ) ;
7071 Assert . Equal ( "Writing value of 'System.Int32' is not supported for parameters having DbType 'SByte'" ,
7172 Assert . Throws < InvalidOperationException > ( ( ) => new YdbParameter ( "$var" , DbType . SByte , 1 ) . YdbValue ) . Message ) ;
7273 Assert . Equal ( "Writing value of 'System.String' is not supported for parameters having DbType 'Boolean'" ,
7374 Assert . Throws < InvalidOperationException > ( ( ) => new YdbParameter ( "$parameter" , DbType . Boolean )
7475 { Value = "true" } . YdbValue ) . Message ) ;
7576 Assert . Equal ( "Writing value of 'System.Double' is not supported for parameters having DbType 'Single'" ,
76- Assert . Throws < InvalidOperationException > ( ( ) => new YdbParameter ( "$var" , DbType . Single , 1.1 ) . YdbValue ) . Message ) ;
77+ Assert . Throws < InvalidOperationException > ( ( ) => new YdbParameter ( "$var" , DbType . Single , 1.1 ) . YdbValue )
78+ . Message ) ;
7779 }
7880
7981 [ Theory ]
You can’t perform that action at this time.
0 commit comments