dict: address review comment I missed

pull/3490/head
Mathieu Duponchelle 7 years ago
parent 1de7dce414
commit f59d7bafd2
  1. 5
      test cases/common/199 dict/meson.build

@ -6,11 +6,16 @@ dict = {'foo' : 'bar',
exe = executable('prog', sources : ['prog.c'])
i = 0
foreach key, value : dict
test('dict test @0@'.format(key), exe,
args : [dict[key], value])
i += 1
endforeach
assert(i == 3, 'There should be three elements in that dictionary')
empty_dict = {}
foreach key, value : empty_dict

Loading…
Cancel
Save