Skip to content

Commit 0800311

Browse files
committed
fix(cli): fixed help tests
This should resolve the ongoing issues with the CLI tests.
1 parent 6bd2ca0 commit 0800311

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/perseus-cli/tests/help.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn help_works() -> Result<(), Box<dyn std::error::Error>> {
1414
.arg("--help");
1515
cmd.assert()
1616
.success()
17-
.stdout(predicate::str::contains("perseus [OPTIONS] <SUBCOMMAND>"));
17+
.stdout(predicate::str::contains("The command-line interface for Perseus, a super-fast WebAssembly frontend development framework!"));
1818

1919
Ok(())
2020
}

packages/perseus-rocket/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ async fn perseus_static_alias<'r>(req: &'r Request<'_>, static_alias: &String) -
219219
// ----- Integration code -----
220220

221221
/// Configures an Rocket Web app for Perseus.
222-
/// This returns a rocket app at the build stage that can be built upon further with
223-
/// more routes, fairings etc...
222+
/// This returns a rocket app at the build stage that can be built upon further
223+
/// with more routes, fairings etc...
224224
pub async fn perseus_base_app<M, T>(
225225
turbine: &'static Turbine<M, T>,
226226
opts: ServerOptions,

0 commit comments

Comments
 (0)