mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Fix remaining console test
This commit is contained in:
parent
95a7e8301c
commit
fb7aad4099
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ func TestPrettyError(t *testing.T) {
|
|||
defer tester.Close(t)
|
||||
tester.console.Evaluate("throw 'hello'")
|
||||
|
||||
want := jsre.ErrorColor("hello") + "\n"
|
||||
want := jsre.ErrorColor("hello") + "\n\tat <eval>:1:7(1)\n\n"
|
||||
if output := tester.output.String(); output != want {
|
||||
t.Fatalf("pretty error mismatch: have %s, want %s", output, want)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue