diff options
author | Jones <info@brainelectronics.de> | 2020-11-12 19:43:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 20:43:17 +0200 |
commit | 8351e85bbd531411691ba54bbb0bac6d96ae5bfd (patch) | |
tree | 157380f0782a785e0c5a86588c470f20889068ed /test cases | |
parent | 06de675df2172b6c6f9908686540ebf57b20db4a (diff) | |
download | meson-8351e85bbd531411691ba54bbb0bac6d96ae5bfd.zip meson-8351e85bbd531411691ba54bbb0bac6d96ae5bfd.tar.gz meson-8351e85bbd531411691ba54bbb0bac6d96ae5bfd.tar.bz2 |
interpreter: Add get_keys function for configuration_data (#7887)
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/14 configure file/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/common/14 configure file/meson.build b/test cases/common/14 configure file/meson.build index f40dc52..f7e0eeb 100644 --- a/test cases/common/14 configure file/meson.build +++ b/test cases/common/14 configure file/meson.build @@ -10,6 +10,7 @@ conf.set('BE_TRUE', true) assert(conf.get('var') == 'mystring', 'Get function is not working.') assert(conf.get('var', 'default') == 'mystring', 'Get function is not working.') assert(conf.get('notthere', 'default') == 'default', 'Default value getting is not working.') +assert(conf.keys() == ['BE_TRUE', 'other', 'second', 'var'], 'Keys function is not working') cfile = configure_file(input : 'config.h.in', output : 'config.h', |