error: Test function test_no_create has a return-type but no exected clause in the test-case. This is currently unsupported. See test-case documentation for more details.
--> tests/fs.rs:41:39
|
41 | fn test_no_create(ty: AppDataType) -> io::Result<()> {
| ^^
...
error: could not compile `app_dirs2` due to 2 previous errors
This has been addressed in test-case 2, where returning a Result from a test_case function actually fails the test (and compiles sucessfully in the first place).
tests/fs.rs
fails to compile ontest-case 1
:This has been addressed in
test-case 2
, where returning aResult
from atest_case
function actually fails the test (and compiles sucessfully in the first place).