]> git.draconx.ca Git - dxcommon.git/blobdiff - tests/scripts.at
gen-strtab.awk: Allow repeated whitespace in one-line strings.
[dxcommon.git] / tests / scripts.at
index 3a91bd0689887cb3ba98ba8a4e8920b45fc24024..7a873a9086fcdaa4b4007f935ad34dcbd938ebb6 100644 (file)
@@ -356,6 +356,7 @@ newline\
 \   leading whitespace
 &j oneline
 # with a comment
+&k    with   nontrivial   whitespace
 ]])
 
 AT_CHECK([$AWK -f "$srcdir/scripts/gen-strtab.awk" <test.def >test.h])
@@ -407,6 +408,8 @@ nonewline
 ---
 oneline
 ---
+with   nontrivial   whitespace
+---
 ], [ignore])
 
 AT_CLEANUP