-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Warning for empty inputs #128
Comments
I don't think this is a bug. You should pass Line 43 in 373fbb6
As far as I remember |
That's what I do. https://github.com/microsoft/vscode-generator-code/blob/07ae7522143dd5d32c8d6402eb6274cb8393765e/test/test.js#L444
I probably should set the default to `` as well. But the message is misleading here as the answer was provided. |
Fixed in 4f466bb |
There's now a message when an test input is not provided:
yeoman-test/lib/adapter.js
Line 44 in 373fbb6
Unfortunately for us it's a false positive for cases where we allow empty inputs:
https://github.com/microsoft/vscode-generator-code/blob/07ae7522143dd5d32c8d6402eb6274cb8393765e/generators/app/generate-language.js#L66
In our test
this.question.type
isinput
, andanswer
is""
yeoman-test/lib/adapter.js
Line 37 in 373fbb6
results in
isSet ===false
The text was updated successfully, but these errors were encountered: