Commit 85acdadc authored by zsfelfoldi's avatar zsfelfoldi

fixed jsre test

parent 8324b683
...@@ -50,7 +50,7 @@ func TestBind(t *testing.T) { ...@@ -50,7 +50,7 @@ func TestBind(t *testing.T) {
jsre.Bind("no", &testNativeObjectBinding{jsre.ToVal}) jsre.Bind("no", &testNativeObjectBinding{jsre.ToVal})
val, err := jsre.Run(`no.testMethod("testMsg")`) val, err := jsre.Run(`no.TestMethod("testMsg")`)
if err != nil { if err != nil {
t.Errorf("expected no error, got %v", err) t.Errorf("expected no error, got %v", err)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment