diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-25 15:17:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-25 15:17:53 +0200 |
commit | 1ef12a515fcf4334725767e09d11583301a5153b (patch) | |
tree | 71fd679ad6e584230b3f14ea29df743ee30d075d /tests/compiler/sloc-counter/testscript | |
parent | 96ccbbd113efbfe6a0a300a1971e4a6f12c9249c (diff) |
Adjust for literal here-document support in testscript
Diffstat (limited to 'tests/compiler/sloc-counter/testscript')
-rw-r--r-- | tests/compiler/sloc-counter/testscript | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/compiler/sloc-counter/testscript b/tests/compiler/sloc-counter/testscript index 802d406..841c4c3 100644 --- a/tests/compiler/sloc-counter/testscript +++ b/tests/compiler/sloc-counter/testscript @@ -2,9 +2,12 @@ # copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file +# @@ BUG: adding blank lines at the end increases the count. + : c++-program-sloc : -text = '// C++ comment +$* <<EOI >'19' +// C++ comment // C++ comment /* C comment */ @@ -37,10 +40,5 @@ int main( /* tricky stuff *// 2; cerr << "Hello, \"world!" << '"'\\''"' << endl; -}'; -cat <"$text" >>>file; -$* file >>EOO -$text - -18 -EOO +} +EOI |