diff --git a/test/Dapper.AOT.Test/NpgsqlParseTests.cs b/test/Dapper.AOT.Test/NpgsqlParseTests.cs index 891d6cac..56173a52 100644 --- a/test/Dapper.AOT.Test/NpgsqlParseTests.cs +++ b/test/Dapper.AOT.Test/NpgsqlParseTests.cs @@ -136,7 +136,7 @@ public void Consecutive_semicolons() Assert.Equal(3, results.Count); Assert.Equal("", results[0].FinalCommandText); Assert.Equal("", results[1].FinalCommandText); - Assert.Equal("SELECT 1", results[0].FinalCommandText); + Assert.Equal("SELECT 1", results[2].FinalCommandText); // what actually happens (passes) // Assert.Equal("SELECT 1", Assert.Single(results).FinalCommandText);