Sylvestre Ledru
31de88b03d
Drop unnecessary Result wraps in integration tests
...
The three integration tests never produced an `Err`, so the
`Result<(), String>` return type was dead weight. Switch them to
plain `()` to silence clippy::unnecessary_wraps.
2026-09-16 11:28:34 +02:00
Sylvestre Ledru
700a74e91d
Some clippy fixes
...
Done with:
$ cargo clippy --fix --allow-dirty -- -W clippy::pedantic
2024-04-09 23:15:11 +02:00
Roy Ivy III
7df4ffd1ab
tests ~ fix cargo clippy complaint (*allow* clippy::redundant_clone)
2023-06-12 22:39:06 -05:00
Roy Ivy III
6605dc3262
tests ~ fix cargo clippy complaint (clippy::single-component-path-imports)
2023-05-29 00:24:15 -05:00
Roy Ivy III
2bec493de3
tests ~ expand and simplify tests for improved coverage
2023-02-13 22:16:00 -06:00
Roy Ivy III
e84b6aae7d
refactor/API ~ revise PlatformInfoAPI trait (to () -> &OsStr)
2023-02-13 22:16:00 -06:00
Roy Ivy III
609413cba7
tests ~ refactor for API revision
2023-02-13 22:16:00 -06:00
Roy Ivy III
e9b80f0c89
tests ~ dis-allow invisible chars in return values
2023-01-25 21:11:36 -06:00
Roy Ivy III
b3150360c8
Add osname() ( #27 )
...
* change ~ add `osname()` (from `uname`; allows improved WinOS specialization)
2023-01-08 10:37:13 +01:00
Roy Ivy III
3f65c1c1f8
fix WinOS release/version specification (mimic busybox uname)
2023-01-07 10:56:07 -06:00
Sylvestre Ledru
3ab859ad9a
add a windows specific test
2022-04-15 22:31:51 +02:00
Sylvestre Ledru
2c1b53918f
add an initial test
2021-11-28 14:07:05 +01:00