diff options
| author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-10-12 17:17:05 +0200 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2021-10-12 12:44:33 -0400 |
| commit | 220d5aa7ba76afef511e87aa6b67fcccc5f4071d (patch) | |
| tree | 1b1c3a867b676a029ad6d1d9f619a6965c6b868d /test cases/common | |
| parent | ace184fa4539af5e958b23239a65269b43a5cda7 (diff) | |
| download | meson-220d5aa7ba76afef511e87aa6b67fcccc5f4071d.tar.gz | |
interpreter: Fix missing holder entry (fixes #9389)
Diffstat (limited to 'test cases/common')
| -rw-r--r-- | test cases/common/188 dict/meson.build | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test cases/common/188 dict/meson.build b/test cases/common/188 dict/meson.build index dacf01db3..2f4c4c981 100644 --- a/test cases/common/188 dict/meson.build +++ b/test cases/common/188 dict/meson.build @@ -69,3 +69,14 @@ assert(d[k2] == 2, 'Incorrect expression evaluation in dictionary key') d = {'a' + 'b' : 1} assert(d['a' + 'b'] == 1, 'Incorrect expression evaluation in dictionary key') assert(d['ab'] == 1, 'Incorrect expression evaluation in dictionary key') + +# Complex types +d = { + 'sanity': 1, + 'host': host_machine, + 'meson': meson, +} + +assert(d['sanity'] == 1) +assert(not is_disabler(d['meson'])) +assert(not is_disabler(d['host'])) |
