Rename func to funk in tests to avoid Go keyword problems

This commit is contained in:
William S Fulton 2017-06-16 19:13:58 +01:00
commit 95e8643d70
16 changed files with 25 additions and 29 deletions

View file

@ -1,6 +1,6 @@
var null_pointer = require("null_pointer");
if (!null_pointer.func(null)) {
if (!null_pointer.funk(null)) {
throw new Error("Javascript 'null' should be converted into NULL.");
}