added a flowchart cli test to reproduce #434
This commit is contained in:
parent
0ecbbf8ddf
commit
4a5bbe1791
|
@ -87,3 +87,16 @@ test('sequence png', function(t) {
|
|||
});
|
||||
})
|
||||
|
||||
test('flowchart svg text', function(t) {
|
||||
t.plan(1);
|
||||
var args = [ "--svg",
|
||||
"--outputDir=" + test_dir,
|
||||
"--outputSuffix=.actual",
|
||||
test_dir+"flowchart_text.mmd",
|
||||
]
|
||||
exec_mermaid(args.join(" "),
|
||||
function(error, stdout, stderr) {
|
||||
t.notOk(stderr, 'no error')
|
||||
t.end()
|
||||
});
|
||||
})
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
graph TD
|
||||
A[label]
|
||||
B[very very very long long long long-long-long text]
|
||||
A--test-->B
|
Loading…
Reference in New Issue