Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: merge print.bash into usage.bash #3991

Merged
merged 4 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions e2e/tests-dfx/print.bash

This file was deleted.

12 changes: 12 additions & 0 deletions e2e/tests-dfx/usage.bash
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,15 @@ teardown() {
assert_match "$(dfx identity get-principal --identity alice)"
}

@test "print_mo" {
dfx_new
install_asset print
dfx_start 2>stderr.txt
dfx canister create --all
dfx build
dfx canister install e2e_project
dfx canister call e2e_project hello
sleep 2
run tail -2 stderr.txt
assert_match "Hello, World! from DFINITY"
}
Loading