From c772d14a81575e6e9b4bd2c85def306f7b676981 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 a1ec1cad61..413d07fc52 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 junk data bloat, 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"))]