Skip to content

Commit

Permalink
tests: integration: test dapp---nix-run
Browse files Browse the repository at this point in the history
  • Loading branch information
asymmetric committed Mar 28, 2023
1 parent 58f1893 commit cabcc7d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/dapp-tests/integration/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,16 @@ test_seth_use() {
assert "[[ -f out/dapp.sol.json ]]"
}

test_dapp_nix_run_geth_version() {
dapp --nix-run go-ethereum geth version
}

test_dapp_nix_run_solc_version() {
VERSION=$(dapp --nix-run "solc-versions.solc_0_5_12" solc --version | tail -1 | cut -d: -f2 | cut -d+ -f1)

assert_equals "$VERSION" " 0.5.12"
}

test_gas_snapshots() {
tmp=$(mktemp -d)

Expand Down

0 comments on commit cabcc7d

Please sign in to comment.