Skip to content

Commit

Permalink
login_works test updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamite-bud committed Jul 11, 2023
1 parent 3eb3cf3 commit 9d0027b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/cli/tests/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ fn login_works() -> anyhow::Result<()> {
if wapm_dev_token.is_empty() {
return Ok(());
}
// FIXME: Change the registry to wasmer.wtf and all the associated terms with WAPM
let output = Command::new(get_wasmer_path())
.arg("login")
.arg("--registry")
Expand All @@ -37,7 +38,7 @@ fn login_works() -> anyhow::Result<()> {
}

let stdout_output = std::str::from_utf8(&output.stdout).unwrap();
let expected = "Login for Wasmer user \"ciuser\" saved\n";
let expected = "Done!\nLogin for Wasmer user \"ciuser\" saved\n";
if stdout_output != expected {
println!("expected:");
println!("{expected}");
Expand Down

0 comments on commit 9d0027b

Please sign in to comment.