diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-11-04 00:34:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-11-04 00:34:53 +0100 |
commit | ba2d7ffc4bd69175ddeffb77a7b459787baa0d92 (patch) | |
tree | 938ed24d19490797dad752ba16a8893cbde3ea80 /src/testdir/test87.in | |
parent | d5d015d4570eabc9a2da620cce906617e72ac625 (diff) |
updated for version 7.4.063v7.4.063
Problem: Crash when using invalid key in Python dictionary.
Solution: Check for object to be NULL. Add tests. (ZyX)
Diffstat (limited to 'src/testdir/test87.in')
-rw-r--r-- | src/testdir/test87.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test87.in b/src/testdir/test87.in index 0ee6df3b2a..54cd97748f 100644 --- a/src/testdir/test87.in +++ b/src/testdir/test87.in @@ -1039,6 +1039,9 @@ ee('d.get("a", 2, 3)') stringtochars_test('d.get(%s)') ee('d.pop("a")') ee('dl.pop("a")') +cb.append(">> DictionaryContains") +ee('"" in d') +ee('0 in d') cb.append(">> DictionaryIterNext") ee('for i in ned: ned["a"] = 1') del i |