You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got these errors, But it's weird that pester on Appveyor doesn't fail. Also, I pulled from upstream with newest testing scripts. This means this issue may be nonreproducible.
[-] file newlines are CRLF 85ms
ArgumentNullException: Value cannot be null.
Parameter name: input
MethodInvocationException: Exception calling "Split" with "2" argument(s): "Value cannot be null.
Parameter name: input"
at <ScriptBlock>, C:\Users\Congee\Projects\scoop\test\00-Project.Tests.ps1: line 138
Describing manifest-validation
[+] Scoop.Validator is available 133ms
Context parse_json function
[+] fails with invalid json 48ms
Context schema validation
[+] fails with broken schema 151ms
[+] fails with broken manifest 106ms
[+] fails with invalid manifest 91ms
Context manifest validates against the schema
[*] .#fzf.json: Error reading JObject from JsonReader. Path '', line 0, position 0.
[-] .#fzf.json 100ms
Expected: {0}
But was: {1}
58: $validator.Errors.Count | should be 0
at <ScriptBlock>, C:\Users\Congee\Projects\scoop\test\Scoop-Manifest.Tests.ps1: line 58
It looks like the first error (file newlines are CRLF) is due to an empty file. I've added a few lines to throw an exception and help you work out which file it is.
Got these errors, But it's weird that pester on Appveyor doesn't fail. Also, I pulled from upstream with newest testing scripts. This means this issue may be nonreproducible.
#1374
Annoying, any idea?
The text was updated successfully, but these errors were encountered: