From 85acdadcfa99ea5c74907029cb63919cc0302c1a Mon Sep 17 00:00:00 2001 From: zsfelfoldi Date: Fri, 20 Mar 2015 13:48:23 +0100 Subject: [PATCH] fixed jsre test --- jsre/jsre_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }