diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-03-20 20:48:23 +0800 |
---|---|---|
committer | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-03-20 20:48:23 +0800 |
commit | 85acdadcfa99ea5c74907029cb63919cc0302c1a (patch) | |
tree | d1fece4c9fe05b7356431302bbfde5b451d4da6d | |
parent | 8324b683b4e557e6c5c9d572d01f933b3e074185 (diff) | |
download | dexon-85acdadcfa99ea5c74907029cb63919cc0302c1a.tar.gz dexon-85acdadcfa99ea5c74907029cb63919cc0302c1a.tar.zst dexon-85acdadcfa99ea5c74907029cb63919cc0302c1a.zip |
fixed jsre test
-rw-r--r-- | jsre/jsre_test.go | 2 |
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) } |