Skip to content

Commit

Permalink
Fix cli integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayys committed Dec 30, 2023
1 parent 1c52e30 commit 12914f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/registry/src/package/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl Publish {
// dry run: publish is done here

println!(
"Successfully published package `{}@{}`",
"🚀 Successfully published package `{}@{}`",
manifest.package.name, manifest.package.version
);

Expand Down
10 changes: 5 additions & 5 deletions tests/integration/cli/tests/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn wasmer_publish() {
}

cmd.assert().success().stdout(format!(
"Successfully published package `{username}/largewasmfile@{random1}.{random2}.{random3}`\n"
"🚀 Successfully published package `{username}/largewasmfile@{random1}.{random2}.{random3}`\n"
));
}

Expand Down Expand Up @@ -116,7 +116,7 @@ fn wasmer_init_publish() {
let assert = cmd.assert();

assert.success().stdout(format!(
"Successfully published package `{username}/randomversion@{random1}.{random2}.{random3}`\n"
"🚀 Successfully published package `{username}/randomversion@{random1}.{random2}.{random3}`\n"
));
}

Expand Down Expand Up @@ -166,9 +166,9 @@ fn wasmer_publish_and_run() {
cmd.arg("--token").arg(token);
}

cmd.assert()
.success()
.stdout(format!("Successfully published package `{package_name}`\n"));
cmd.assert().success().stdout(format!(
"🚀 Successfully published package `{package_name}`\n"
));

let assert = std::process::Command::new(get_wasmer_path())
.arg("run")
Expand Down

0 comments on commit 12914f2

Please sign in to comment.