src/stdlib/testing/filesystem.panack
Green: covered; red: known zero; amber: unavailable. Blank lines are outside the executable-start-line denominator.
1 pub import stdlib/testing_files::{HostError, TestWorkspace, discover_fixtures} 2 import stdlib/testing_files as legacy 3 4 pub create_workspace(parent: Path): Result[TestWorkspace,HostError] { 5 legacy.workspace_create(parent) 6 } 7 pub remove_empty(workspace: TestWorkspace): Result[Unit,HostError] { 8 workspace.remove_empty() 9 } 10
Functions
[
{
"id": "declaration/2",
"name": "create_workspace",
"line": 4,
"state": "covered",
"entries": "2"
},
{
"id": "declaration/3",
"name": "remove_empty",
"line": 7,
"state": "covered",
"entries": "2"
}
]Source branch outcomes
[]
Reviewed declaration exclusions
[
{
"id": "declaration/0",
"reason": "import",
"line": 1
},
{
"id": "declaration/1",
"reason": "import",
"line": 2
},
{
"id": "declaration/2/tail/receiver",
"reason": "namespace-qualifier",
"line": 5
}
]