diff options
Diffstat (limited to 'jsre/jsre_test.go')
-rw-r--r-- | jsre/jsre_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jsre/jsre_test.go b/jsre/jsre_test.go index f01854b51..8a771dae8 100644 --- a/jsre/jsre_test.go +++ b/jsre/jsre_test.go @@ -1,7 +1,7 @@ package jsre import ( - "github.com/obscuren/otto" + "github.com/robertkrimen/otto" "testing" "github.com/ethereum/go-ethereum/common" @@ -50,7 +50,7 @@ func TestBind(t *testing.T) { jsre.Bind("no", &testNativeObjectBinding{jsre.ToVal}) - val, err := jsre.Run(`no.testMethod("testMsg")`) + val, err := jsre.Run(`no.TestMethod("testMsg")`) if err != nil { t.Errorf("expected no error, got %v", err) } |