Skip to content

Commit

Permalink
test: merge print.bash into usage.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Nov 14, 2024
1 parent 1873241 commit efce615
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 27 deletions.
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"
}

0 comments on commit efce615

Please sign in to comment.