Skip to content

Commit

Permalink
Working to get the tests to pass.
Browse files Browse the repository at this point in the history
The nools parser test for defines uses a deep equal to a known
structure.  There is a new property in the define parse output, extend:
<typename> , this is null unless there is an actual base class.  Adding
null, trivial change for this.
  • Loading branch information
markbjerke committed Dec 18, 2015
1 parent d5437fe commit cde8efd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/noolsParser.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ it.describe("nools dsl parser", function (it) {
{
name: "Test",
extend: null,
properties: "({myProp : 'value'})"
properties: "({myProp : 'value'})"
}
],
"rules": [],
Expand All @@ -29,6 +29,7 @@ it.describe("nools dsl parser", function (it) {
define: [
{
name: "Test",
extend: null,
properties: "({myFunc : function(){}})"
}
],
Expand Down

0 comments on commit cde8efd

Please sign in to comment.