summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
Diffstat (limited to 'test cases')
-rw-r--r--test cases/format/5 transform/default.expected.meson14
-rw-r--r--test cases/format/5 transform/muon.expected.meson14
-rw-r--r--test cases/format/5 transform/options.expected.meson14
-rw-r--r--test cases/format/5 transform/source.meson14
4 files changed, 56 insertions, 0 deletions
diff --git a/test cases/format/5 transform/default.expected.meson b/test cases/format/5 transform/default.expected.meson
index 18af2f8af..4a9851ac9 100644
--- a/test cases/format/5 transform/default.expected.meson
+++ b/test cases/format/5 transform/default.expected.meson
@@ -36,6 +36,20 @@ a2 = [
# space array
a3 = [1, 2, 3]
+# multi line expression
+is_foo = (
+ true
+ and false
+ and true
+ and false
+ and true
+ and false
+ and true
+ and false
+ and true
+ and false
+)
+
# no single comma function
fct = files(
'meson.build', # force multiline
diff --git a/test cases/format/5 transform/muon.expected.meson b/test cases/format/5 transform/muon.expected.meson
index 0e6309c7f..3b6127030 100644
--- a/test cases/format/5 transform/muon.expected.meson
+++ b/test cases/format/5 transform/muon.expected.meson
@@ -36,6 +36,20 @@ a2 = [
# space array
a3 = [1, 2, 3]
+# multi line expression
+is_foo = (
+ true
+ and false
+ and true
+ and false
+ and true
+ and false
+ and true
+ and false
+ and true
+ and false
+)
+
# no single comma function
fct = files(
'meson.build', # force multiline
diff --git a/test cases/format/5 transform/options.expected.meson b/test cases/format/5 transform/options.expected.meson
index 9ed6ac2be..84917c19d 100644
--- a/test cases/format/5 transform/options.expected.meson
+++ b/test cases/format/5 transform/options.expected.meson
@@ -14,6 +14,20 @@ a2 = [ 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 2
# space array
a3 = [ 1, 2, 3 ]
+# multi line expression
+is_foo = (
+ true
+ and false
+ and true
+ and false
+ and true
+ and false
+ and true
+ and false
+ and true
+ and false
+)
+
# no single comma function
fct = files(
'meson.build' # force multiline
diff --git a/test cases/format/5 transform/source.meson b/test cases/format/5 transform/source.meson
index 448288405..a3b326b12 100644
--- a/test cases/format/5 transform/source.meson
+++ b/test cases/format/5 transform/source.meson
@@ -18,6 +18,20 @@ a2 = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22
# space array
a3 = [ 1, 2, 3 ]
+# multi line expression
+is_foo = (
+ true
+ and false
+ and true
+ and false
+ and true
+ and false
+ and true
+ and false
+ and true
+ and false
+)
+
# no single comma function
fct = files(
'meson.build', # force multiline