diff options
| author | Charles Brunet <charles.brunet@optelgroup.com> | 2025-09-23 11:20:49 -0400 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-09-24 08:13:04 -0700 |
| commit | 97e9e2fb66895d2fc1b4a714a428468aeebf9648 (patch) | |
| tree | 6189ef4480fe5703e5fabc6445e937f9031c141f /test cases/format/5 transform/default.expected.meson | |
| parent | b91fede6d263286fa1e20d424f92d1e10668a8ed (diff) | |
| download | meson-97e9e2fb66895d2fc1b4a714a428468aeebf9648.tar.gz | |
format: Fix indentation with parentheses
- Split long expressions in () according to max line length
- Partly revert d028502 . Fixes #14935.
- Fixes #15032.
Diffstat (limited to 'test cases/format/5 transform/default.expected.meson')
| -rw-r--r-- | test cases/format/5 transform/default.expected.meson | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/test cases/format/5 transform/default.expected.meson b/test cases/format/5 transform/default.expected.meson index 4a9851ac9..702ae5643 100644 --- a/test cases/format/5 transform/default.expected.meson +++ b/test cases/format/5 transform/default.expected.meson @@ -8,7 +8,7 @@ f = files(options_ini, 'expected.meson', 'source.meson') # This array should fit on one line a1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21] -# This array is too long and should be splitted +# This array is too long and should be split a2 = [ 2, 3, @@ -81,4 +81,17 @@ arguments = [ '--x', ] +# issue #15032 +if true + if true + if ( + true + and true + and false + ) + message('Hello, world!') + endif + endif +endif + # no final endline |
