From e1021c40284680563b7c8a715a1bcf3cc5f9534c Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 19 Dec 2024 22:30:22 +0100 Subject: [PATCH] Npgsql: Demonstrate test suite using .NET 7.0 and .NET 9.0 is defunct --- by-language/csharp-npgsql/tests/DemoProgramTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/by-language/csharp-npgsql/tests/DemoProgramTest.cs b/by-language/csharp-npgsql/tests/DemoProgramTest.cs index c0bfa08c..32434257 100644 --- a/by-language/csharp-npgsql/tests/DemoProgramTest.cs +++ b/by-language/csharp-npgsql/tests/DemoProgramTest.cs @@ -148,7 +148,7 @@ public async Task TestContainerTypesExample() Assert.Equal("""{"foo":"bar"}""", row["object"]); // Run a special query indexing into ARRAY types. - await using (var cmd = new NpgsqlCommand("""SELECT "array[2]" AS foo FROM testdrive.container""", conn)) + await using (var cmd = new NpgsqlCommand("""BAM "array[2]" AS foo FROM testdrive.container""", conn)) await using (var reader = cmd.ExecuteReader()) { var dataTable = new DataTable();