aboutsummaryrefslogtreecommitdiffstats
path: root/jsre/jsre_test.go
diff options
context:
space:
mode:
authorzsfelfoldi <zsfelfoldi@gmail.com>2015-03-20 20:48:23 +0800
committerzsfelfoldi <zsfelfoldi@gmail.com>2015-03-20 20:48:23 +0800
commit85acdadcfa99ea5c74907029cb63919cc0302c1a (patch)
treed1fece4c9fe05b7356431302bbfde5b451d4da6d /jsre/jsre_test.go
parent8324b683b4e557e6c5c9d572d01f933b3e074185 (diff)
downloadgo-tangerine-85acdadcfa99ea5c74907029cb63919cc0302c1a.tar
go-tangerine-85acdadcfa99ea5c74907029cb63919cc0302c1a.tar.gz
go-tangerine-85acdadcfa99ea5c74907029cb63919cc0302c1a.tar.bz2
go-tangerine-85acdadcfa99ea5c74907029cb63919cc0302c1a.tar.lz
go-tangerine-85acdadcfa99ea5c74907029cb63919cc0302c1a.tar.xz
go-tangerine-85acdadcfa99ea5c74907029cb63919cc0302c1a.tar.zst
go-tangerine-85acdadcfa99ea5c74907029cb63919cc0302c1a.zip
fixed jsre test
Diffstat (limited to 'jsre/jsre_test.go')
-rw-r--r--jsre/jsre_test.go2
1 files changed, 1 insertions, 1 deletions
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)
}