fix(sqlserver): narrow named instance test

This commit is contained in:
t8y2 2026-07-08 09:57:12 +08:00
parent d2874bf1bb
commit 1830d76a67
1 changed files with 1 additions and 1 deletions

View File

@ -1882,7 +1882,7 @@ mod tests {
#[test]
fn sqlserver_connect_uses_named_instance_resolution() {
let source = include_str!("sqlserver.rs");
let try_connect = source.split("async fn try_connect").nth(1).unwrap();
let try_connect = source.split("\nasync fn try_connect(").nth(1).unwrap();
let try_connect = try_connect.split("fn row_to_json").next().unwrap();
assert!(try_connect.contains("connect_named(&config)"));
}