Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Adjust PWS tests to use nitrokey-test crate | Daniel Mueller | 2019-01-05 |
| | | | | This change adjusts the PWS tests to use the nitrokey-test crate. | ||
* | Preserve unknown error code values | Daniel Mueller | 2019-01-03 |
| | | | | | | | | | | The CommandError::Unknown variant, which is used whenever a reported error code is not known, makes it close to impossible to determine the root cause of, say, a one-off error, because all information explaining what went wrong is discarded. With this change we adjust the Unknown variant to include the error report. In addition, we introduce a new CommandError variant, Undefined, that is used when no error code is available. | ||
* | Fix formatting using to rustfmt | Robin Krahl | 2018-12-30 |
| | |||
* | Refactor tests into the top-level tests directory | Robin Krahl | 2018-12-16 |
Newer Rust versions support integration tests in a top-level tests directory. This patch refactors the existing unit tests into integration tests. |