Skip to main content

Add better examples

ID
fe6c77e
date
2025-01-06 21:12:16+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
db6f364
message
Add better examples
changed files
1 file, 2 additions, 2 deletions

Changed files

src/main.rs (10082) → src/main.rs (10074)

diff --git a/src/main.rs b/src/main.rs
index 627f900..43a5444 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -329,8 +329,8 @@ mod test_helpers {
     /// Run this command-line tool with zero or more arguments:
     ///
     ///     run_command!();
-    ///     run_command!("test");
-    ///     run_command!("test", "--nocapture", "--ignored");
+    ///     run_command!("square");
+    ///     run_command!("square", "--colour=red");
     ///
     /// This returns an `assert_cmd::assert::Assert` that will allow
     /// you to make assertions about the output.