From 7809ff4b86bd75181083cf2e8d2a5f0edb43e776 Mon Sep 17 00:00:00 2001 From: Austin Bonander Date: Tue, 2 Aug 2022 18:30:27 -0700 Subject: [PATCH] fix(docs): remove mention of subcommand that wasn't added I intended to add subcommands to `sqlx-cli` to manage test databases but I wanted to get #2001 finished and out the door so we can start using it ASAP. --- src/macros/test.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/macros/test.md b/src/macros/test.md index a1ec1cad..dbcb7646 100644 --- a/src/macros/test.md +++ b/src/macros/test.md @@ -58,8 +58,8 @@ Test databases are automatically cleaned up as tests succeed, but failed tests w to facilitate debugging. Note that to simplify the implementation, panics are _always_ considered to be failures, even for `#[should_panic]` tests. -If you have `sqlx-cli` installed, you can run `sqlx test-db cleanup` to delete all test databases. -Old test databases will also be deleted the next time a test binary using `#[sqlx::test]` is run. +To limit disk space usage, any previously created test databases will be deleted the next time a test binary using +`#[sqlx::test]` is run. ```rust,no_run # #[cfg(all(feature = "migrate", feature = "postgres"))]