Fix for issue number #108 - v in text

This commit is contained in:
knsv
2015-01-20 20:23:02 +01:00
parent ee6ad01209
commit d0428d492b
7 changed files with 1301 additions and 102 deletions

View File

@@ -569,12 +569,12 @@ describe('when parsing ',function(){
});
it('should handle keywords',function(){
var res = flow.parser.parse('graph TD;A-- text including graph space --xB;');
var res = flow.parser.parse('graph TD;A-- text including graph space and v --xB;');
var vert = flow.parser.yy.getVertices();
var edges = flow.parser.yy.getEdges();
expect(edges[0].text).toBe('text including graph space');
expect(edges[0].text).toBe('text including graph space and v');
});
xit('should handle text on open links',function(){