Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgi committed Dec 13, 2024
1 parent b35d064 commit 43f8200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DuckDB.NET.Test/DuckDBConnectionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ public void ConnectionSetsDuckDBApiConfigOption()
connection.Open();
using var command = connection.CreateCommand();
command.CommandText = "SELECT current_setting('duckdb_api');";
var value = command.ExecuteScalar();
value.Should().Be("DuckDB.NET");
var value = (string)command.ExecuteScalar();
value.Should().StartWith("DuckDB.NET");
}
}
}

0 comments on commit 43f8200

Please sign in to comment.