From 8324b683b4e557e6c5c9d572d01f933b3e074185 Mon Sep 17 00:00:00 2001 From: zsfelfoldi Date: Fri, 20 Mar 2015 13:22:01 +0100 Subject: using robertkrimen/otto, godeps updated --- jsre/jsre.go | 2 +- jsre/jsre_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'jsre') 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..0327b6586 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" -- cgit v1.2.3 From 85acdadcfa99ea5c74907029cb63919cc0302c1a Mon Sep 17 00:00:00 2001 From: zsfelfoldi Date: Fri, 20 Mar 2015 13:48:23 +0100 Subject: fixed jsre test --- jsre/jsre_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jsre') diff --git a/jsre/jsre_test.go b/jsre/jsre_test.go index 0327b6586..8a771dae8 100644 --- a/jsre/jsre_test.go +++ b/jsre/jsre_test.go @@ -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) } -- cgit v1.2.3