mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
console: add modules test
Signed-off-by: tmelhao <tmelhao@gmail.com>
This commit is contained in:
parent
46bef1c4bf
commit
919ac995b2
1 changed files with 3 additions and 0 deletions
|
|
@ -172,6 +172,9 @@ func TestWelcome(t *testing.T) {
|
||||||
if want := fmt.Sprintf("datadir: %s", tester.workspace); !strings.Contains(output, want) {
|
if want := fmt.Sprintf("datadir: %s", tester.workspace); !strings.Contains(output, want) {
|
||||||
t.Fatalf("console output missing datadir: have\n%s\nwant also %s", output, want)
|
t.Fatalf("console output missing datadir: have\n%s\nwant also %s", output, want)
|
||||||
}
|
}
|
||||||
|
if want := "modules: "; !strings.Contains(output, want) {
|
||||||
|
t.Fatalf("console output missing modules: have\n%s\nwant also %s", output, want)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tests that JavaScript statement evaluation works as intended.
|
// Tests that JavaScript statement evaluation works as intended.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue