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

Support nil values #5

Closed
henix opened this issue Jul 15, 2013 · 1 comment
Closed

Support nil values #5

henix opened this issue Jul 15, 2013 · 1 comment
Assignees
Labels

Comments

@henix
Copy link
Owner

henix commented Jul 15, 2013

test code:

runslt2.lua -v "{name=nil}" <<EOF
<p>#{= name }#</p>
EOF

result:

<p>

expect result:

<p></p>
@ghost ghost assigned henix Jul 15, 2013
@henix
Copy link
Owner Author

henix commented Jul 15, 2013

If a value is nil, the coroutine function will return nil, the same as it is terminated. So we must distinguish the 2 situations.

@henix henix closed this as completed in 678cea9 Jul 15, 2013
henix added a commit that referenced this issue Feb 16, 2016
2. Add end_tag_missing test case, support failure test #11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant