mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
fixed jsre test
This commit is contained in:
parent
8324b683b4
commit
85acdadcfa
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ func TestBind(t *testing.T) {
|
||||||
|
|
||||||
jsre.Bind("no", &testNativeObjectBinding{jsre.ToVal})
|
jsre.Bind("no", &testNativeObjectBinding{jsre.ToVal})
|
||||||
|
|
||||||
val, err := jsre.Run(`no.testMethod("testMsg")`)
|
val, err := jsre.Run(`no.TestMethod("testMsg")`)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("expected no error, got %v", err)
|
t.Errorf("expected no error, got %v", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue