Added two new failing tests.pull/6172/head
parent
adb4e071e6
commit
4e460f04f3
4 changed files with 23 additions and 4 deletions
@ -0,0 +1,9 @@ |
||||
project('add dictionary entry using non-string key') |
||||
|
||||
dict = {} |
||||
|
||||
# An integer variable to be used as a key |
||||
key = 1 |
||||
|
||||
# Add new entry using integer variable as key should fail |
||||
dict += {key : 'myValue'} |
@ -0,0 +1,9 @@ |
||||
project('add dictionary entries with duplicate keys') |
||||
|
||||
dict = {} |
||||
|
||||
# A variable to be used as a key |
||||
key = 'myKey' |
||||
|
||||
# Add two entries with duplicate keys should fail |
||||
dict += {key : 'myValue1', key : 'myValue2'} |
Loading…
Reference in new issue