Skip to content

Commit

Permalink
fix(cli): fixed help tests
Browse files Browse the repository at this point in the history
This should resolve the ongoing issues with the CLI tests.
  • Loading branch information
arctic-hen7 committed Apr 9, 2023
1 parent 6bd2ca0 commit 0800311
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/perseus-cli/tests/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn help_works() -> Result<(), Box<dyn std::error::Error>> {
.arg("--help");
cmd.assert()
.success()
.stdout(predicate::str::contains("perseus [OPTIONS] <SUBCOMMAND>"));
.stdout(predicate::str::contains("The command-line interface for Perseus, a super-fast WebAssembly frontend development framework!"));

Ok(())
}
4 changes: 2 additions & 2 deletions packages/perseus-rocket/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ async fn perseus_static_alias<'r>(req: &'r Request<'_>, static_alias: &String) -
// ----- Integration code -----

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

0 comments on commit 0800311

Please sign in to comment.