diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-26 00:04:38 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-26 00:04:38 +0200 |
| commit | d53c00db13d144ee8c5430c11c490c1ec87f9fc7 (patch) | |
| tree | 3d9ab65a240b05d21b38574c5ea4b52440138667 /test cases | |
| parent | d2a648bb93c792efc81070ed6b619785349e6cba (diff) | |
| download | meson-d53c00db13d144ee8c5430c11c490c1ec87f9fc7.tar.gz | |
Yo dawg, can embed quoted single quotes inside quotes.
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/common/32 multiline string/meson.build | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test cases/common/32 multiline string/meson.build b/test cases/common/32 multiline string/meson.build index d4a0278e6..1f952f183 100644 --- a/test cases/common/32 multiline string/meson.build +++ b/test cases/common/32 multiline string/meson.build @@ -7,3 +7,19 @@ again''' if x == y error('Things are wrong.') endif + +multieol = ''' +''' +singleeol = '\n' + +if multieol != singleeol + error('Newline quoting is broken.') +endif + +# And one more for good measure. +quote1 = ''' ' '''.strip() +quote2 = '\'' + +if quote1 != quote2 + error('Single quote quoting is broken.') +endif |
