File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1470,7 +1470,7 @@ public void Test_PostgreSQL_ExecuteTransaction_Incomplete_Transaction_Rollback_O
14701470 // Insert & Update
14711471 var result = dbContext . ExecuteTransaction ( statements ) ;
14721472 Assert . IsFalse ( result . Success ) ;
1473- Assert . AreEqual ( "42601: syntax error at end of input\r \n \r \n POSITION: 7" , result . Exception . Message ) ;
1473+ Assert . IsTrue ( result . Exception . Message . Contains ( "42601: syntax error at end of input" ) ) ;
14741474 var data = dbContext . FetchData ( verifyDMLExecution ) ;
14751475 Assert . AreEqual ( 0 , data . Count ) ;
14761476 }
@@ -1604,7 +1604,7 @@ public async Task Test_PostgreSQL_ExecuteTransactionAsync_Incomplete_Transaction
16041604 // Insert & Update
16051605 var result = await dbContext . ExecuteTransactionAsync ( statements ) ;
16061606 Assert . IsFalse ( result . Success ) ;
1607- Assert . AreEqual ( "42601: syntax error at end of input\r \n \r \n POSITION: 7" , result . Exception . Message ) ;
1607+ Assert . IsTrue ( result . Exception . Message . Contains ( "42601: syntax error at end of input" ) ) ;
16081608 var data = await dbContext . FetchDataAsync ( verifyDMLExecution ) ;
16091609 Assert . AreEqual ( 0 , data . Count ) ;
16101610 }
You can’t perform that action at this time.
0 commit comments