Commit da13de6a by Torkel Ödegaard

fixed failing unit test

parent 4029dc31
......@@ -20,8 +20,9 @@ define([
});
it('should return func instance from funcDef', function() {
var func = gfunc.createFuncInstance(func.def);
expect(func).to.be.ok();
var func = gfunc.createFuncInstance('sum');
var func2 = gfunc.createFuncInstance(func.def);
expect(func2).to.be.ok();
});
it('func instance should have text representation', function() {
......
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