diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-10-28 13:38:46 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-11-06 17:22:00 +0200 |
commit | a6db624aada29e0e11e7e0297d6310413dd1f8f9 (patch) | |
tree | c7f6d67a5160ff89b9c5a4ee07c818900104a102 /test cases | |
parent | 8abbcf78870c350cd9ff43f65d89e7e998d50448 (diff) | |
download | meson-a6db624aada29e0e11e7e0297d6310413dd1f8f9.zip meson-a6db624aada29e0e11e7e0297d6310413dd1f8f9.tar.gz meson-a6db624aada29e0e11e7e0297d6310413dd1f8f9.tar.bz2 |
Implement `in` operator on string
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/16 comparison/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/common/16 comparison/meson.build b/test cases/common/16 comparison/meson.build index 1d250f9..97cf2ca 100644 --- a/test cases/common/16 comparison/meson.build +++ b/test cases/common/16 comparison/meson.build @@ -141,3 +141,6 @@ assert(exe3 not in [exe1, exe2], ''''exe3 shouldn't be in [exe1, exe2]''') assert('a' in {'a': 'b'}, '''1 should be in {'a': 'b'}''') assert('b' not in {'a': 'b'}, '''1 should be in {'a': 'b'}''') + +assert('a' in 'abc') +assert('b' not in 'def') |