Closed Rob-Hague closed 2 months ago
This was failing on the Substring call with:
"System.ArgumentOutOfRangeException : Length cannot be less than zero."
Now it is:
"System.IO.DirectoryNotFoundException : Test data directory bc-test-data not found. Test data available from: https://github.com/bcgit/bc-test-data.git"
Also add "using" declarations on the returned streams. (This requires declaring a more recent language version in the project)
Verified the relevant tests fail with the more informative exception, and pass when the test data is downloaded.
See also Contributing Guidelines.
Merged with follow-up changes, thanks for the PR.
Describe your changes
This was failing on the Substring call with:
"System.ArgumentOutOfRangeException : Length cannot be less than zero."
Now it is:
"System.IO.DirectoryNotFoundException : Test data directory bc-test-data not found. Test data available from: https://github.com/bcgit/bc-test-data.git"
Also add "using" declarations on the returned streams. (This requires declaring a more recent language version in the project)
How has this been tested?
Verified the relevant tests fail with the more informative exception, and pass when the test data is downloaded.
Checklist before requesting a review
See also Contributing Guidelines.