diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2019-12-11 21:00:46 -0500 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2019-12-12 18:30:17 -0500 |
commit | 49082f96698fbb74b587ca774dae45b7b5943a16 (patch) | |
tree | c85a47d74c5f6e6ba7e0a7388c1479e6a8938ad4 /run_unittests.py | |
parent | 6e865a233099a00e9ea08f6a2f911ede3c7b4215 (diff) | |
download | meson-49082f96698fbb74b587ca774dae45b7b5943a16.zip meson-49082f96698fbb74b587ca774dae45b7b5943a16.tar.gz meson-49082f96698fbb74b587ca774dae45b7b5943a16.tar.bz2 |
summary: Allow section with no title, and passing key/value separately
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/run_unittests.py b/run_unittests.py index 9167d14..cb5086c 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -4122,16 +4122,12 @@ recommended as it is not supported on some platforms''') expected = textwrap.dedent(r''' Some Subproject 2.0 - Features - foo: bar + string: bar + integer: 1 + boolean: True My Project 1.0 - Directories - bindir: bin - libdir: lib - datadir: share - Configuration Some boolean: False Another boolean: True @@ -4139,6 +4135,7 @@ recommended as it is not supported on some platforms''') A list: string 1 True + A number: 1 ''') # Dict ordering is not guaranteed and an exact string comparison randomly # fails on the CI because lines are reordered. |