aboutsummaryrefslogtreecommitdiffstats
path: root/jsre
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-03-23 04:45:56 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-03-23 04:45:56 +0800
commit3133372a6a81c91528afbde58e22b3f9df257d03 (patch)
tree16778611a22c9fd249a94c88660cb0c6d297ce9b /jsre
parent59eab49cb849ca93b9608763f4842654e8044d0f (diff)
parent85acdadcfa99ea5c74907029cb63919cc0302c1a (diff)
downloadgo-tangerine-3133372a6a81c91528afbde58e22b3f9df257d03.tar.gz
go-tangerine-3133372a6a81c91528afbde58e22b3f9df257d03.tar.zst
go-tangerine-3133372a6a81c91528afbde58e22b3f9df257d03.zip
Merge pull request #536 from zsfelfoldi/develop
using robertkrimen/otto, godeps updated
Diffstat (limited to 'jsre')
-rw-r--r--jsre/jsre.go2
-rw-r--r--jsre/jsre_test.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/jsre/jsre.go b/jsre/jsre.go
index 31ea955e6..a01fb56d8 100644
--- a/jsre/jsre.go
+++ b/jsre/jsre.go
@@ -2,7 +2,7 @@ package jsre
import (
"fmt"
- "github.com/obscuren/otto"
+ "github.com/robertkrimen/otto"
"io/ioutil"
"github.com/ethereum/go-ethereum/common"
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)
}