Skip to content

Commit

Permalink
[tests] fix doc tests -- use env var everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
FlameFactory committed Nov 2, 2023
1 parent b1f627b commit 22c481c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/column/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl<K: ColumnType> Column<K> {
/// # use futures_util::stream::StreamExt;
/// # let mut rt = tokio::runtime::Runtime::new().unwrap();
/// # let ret: Result<()> = rt.block_on(async {
/// # let database_url = "tcp://localhost:9000";
/// # let database_url = env::var("DATABASE_URL").unwrap_or("tcp://localhost:9000".into());
/// # let pool = Pool::new(database_url);
/// # let mut client = pool.get_handle().await?;
/// let mut stream = client
Expand Down

0 comments on commit 22c481c

Please sign in to comment.