Skip to content

Commit

Permalink
Merge pull request #203 from FlameFactory/fix_cargo_test
Browse files Browse the repository at this point in the history
[tests] fix doc tests -- use env var everywhere
  • Loading branch information
suharev7 authored Nov 5, 2023
2 parents 61be8e5 + 22c481c commit 24c61f5
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 24c61f5

Please sign in to comment.