Test case for preceding fix
This commit is contained in:
parent
b9776aec1e
commit
74e064c82c
9
test/testForIf.krk
Normal file
9
test/testForIf.krk
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
let candidates = {'foo','bar','baz'}
|
||||
|
||||
let values = {
|
||||
x for x in ['foo','bar','baz','qux']
|
||||
if x in candidates
|
||||
}
|
||||
|
||||
print(sorted(list(values)))
|
1
test/testForIf.krk.expect
Normal file
1
test/testForIf.krk.expect
Normal file
@ -0,0 +1 @@
|
||||
['bar', 'baz', 'foo']
|
Loading…
Reference in New Issue
Block a user