Debian Codegraph @

tests/spec/unit/output/bug288c.mzn

raw
1 /***
2 !Test
3 expected:
4 - !Result
5 solution: !Solution
6 _output_item: |
7 Ok
8
9 ***/
10
11 % Regression test for bug #288: (see bug288a.mzn for details). Check
12 % that empty strings at the end of an output item do not affect the
13 % detection of whether or not there is a terminating newline.
14
15 var 1..10: x;
16 solve satisfy;
17 output ["Ok", "\n", "" ++ ""];