diff options
Diffstat (limited to 'test_graphviz.lua')
-rw-r--r-- | test_graphviz.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test_graphviz.lua b/test_graphviz.lua index 3a18cba..f0f15b2 100644 --- a/test_graphviz.lua +++ b/test_graphviz.lua @@ -30,6 +30,8 @@ function tests.testDotEscape() 'Use quotes for non-alpha characters') tester:assert(graph._dotEscape('My\nnewline') == '"My\\nnewline"', 'Escape newlines') + tester:assert(graph._dotEscape('Say "hello"') == '"Say \\"hello\\""', + 'Escape quotes') end |