Skip to content

Commit f22107b

Browse files
committed
fix doc test
Signed-off-by: Richard Chien <[email protected]>
1 parent fcc5da5 commit f22107b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sqllogictest/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
//! }
3838
//!
3939
//! // Then create a `Runner` on your database instance, and run the tests:
40-
//! let mut tester = sqllogictest::Runner::new(|| async {
40+
//! let ctx = sqllogictest::RunnerContext::new("the_db_name".to_owned());
41+
//! let mut tester = sqllogictest::Runner::new(ctx, || async {
4142
//! let db = MyDatabase {
4243
//! // fields
4344
//! };

0 commit comments

Comments
 (0)