refactor fns in ast

This commit is contained in:
Raghu Rajagopalan
2016-03-27 11:22:30 +05:30
parent f8f0454f33
commit 7b0e2513bd
4 changed files with 11 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ describe('when parsing a gitGraph',function() {
"use strict";
beforeEach(function () {
parser.yy = ast;
parser.yy.reset();
parser.yy.clear();
});
it('should handle a gitGraph defintion', function () {
var str = 'gitGraph:\n' +