microsoft / go-crypto-winnative

Go crypto backend for Windows using CNG
MIT License
28 stars 3 forks source link

Use black box testing in all test files #66

Closed qmuntal closed 3 weeks ago

qmuntal commented 3 weeks ago

There are some test files that don't test the cng package as an external caller would (aka black box testing). This is normally achieved by using a different package name in test files, i.e. appending _test to the package name.

This PR fixes this discrepancy by making sure all test files follow this pattern.