Skip to content

Commit cabcc7d

Browse files
committed
tests: integration: test dapp---nix-run
1 parent 58f1893 commit cabcc7d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/dapp-tests/integration/tests.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,16 @@ test_seth_use() {
244244
assert "[[ -f out/dapp.sol.json ]]"
245245
}
246246

247+
test_dapp_nix_run_geth_version() {
248+
dapp --nix-run go-ethereum geth version
249+
}
250+
251+
test_dapp_nix_run_solc_version() {
252+
VERSION=$(dapp --nix-run "solc-versions.solc_0_5_12" solc --version | tail -1 | cut -d: -f2 | cut -d+ -f1)
253+
254+
assert_equals "$VERSION" " 0.5.12"
255+
}
256+
247257
test_gas_snapshots() {
248258
tmp=$(mktemp -d)
249259

0 commit comments

Comments
 (0)