Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create empty list in @{list}-cell #48

Closed
dVoo opened this issue Jun 23, 2021 · 2 comments
Closed

Create empty list in @{list}-cell #48

dVoo opened this issue Jun 23, 2021 · 2 comments

Comments

@dVoo
Copy link

dVoo commented Jun 23, 2021

Empty cells are read as list with single-entry empty string [ '' ], not as empty list [ ].
Is this behavior intended and is it possible to create an empty list without using python literals?

Behavior tested with xls and csv input with both v1.2.0 and v1.3.0.

CSV to reproduce:

*** Test Cases ***;@{list1};e{list2}
CheckList1;not,empty,list;['not','empty','list']
CheckList2;;[]
@Snooz82
Copy link
Owner

Snooz82 commented Jun 23, 2021

Hi Daniel,

UPS!

You found a bug.
And my automated test did not.

There was also a bug in the test, because i had that as a test case but i implemented the tests wrong.
;-)

Now an empty list is created as you did and a list with an empty string is created by using ${Empty} as value

Thanks
@dVoo

@dVoo
Copy link
Author

dVoo commented Jun 24, 2021

So cool.
Keep up the amazing work.
Thanks a lot for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants