Skip to content

Commit

Permalink
test:fix expected error message (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepansergeevitch authored Nov 21, 2024
1 parent d5947a7 commit 338a9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FireboltDotNetSdk.Tests/Integration/ExecuteTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ public void ThrowsStructuredExceptionOnJSONErrorBody()
DbCommand command = conn.CreateCommand();
command.CommandText = "SELECT 'blue'::int";
FireboltException exception = Assert.Throws<FireboltStructuredException>(() => command.ExecuteReader());
Assert.That(exception.Message, Does.Contain("Cannot parse string 'blue' as integer"));
Assert.That(exception.Message, Does.Contain("Unable to cast text 'blue' to integer"));
}

private void CreateDropFillTableWithArrays(string type1, Array? inta1, Type expType1, string type2, Array? inta2, Type expType2, string type3, Array? inta3, Type expType3)
Expand Down

0 comments on commit 338a9a6

Please sign in to comment.