aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
}