MCPcopy Create free account
hub / github.com/XmirrorSecurity/OpenSCA-cli / Test_Rust

Function Test_Rust

test/rust/rust_test.go:10–25  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func Test_Rust(t *testing.T) {
11 tool.RunTaskCase(t, rust.Sca{})([]tool.TaskCase{
12
13 // Cargo.lock
14 {Path: "1", Result: tool.Dep("", "",
15 tool.Dep("foo", "0.1.0",
16 tool.Dep("tokio", "1.28.0",
17 tool.Dep("windows-sys", "0.48.0"),
18 ),
19 tool.Dep("windows-targets", "0.48.0",
20 tool.Dep("windows_x86_64_gnu", "0.48.0"),
21 ),
22 ),
23 )},
24 })
25}

Callers

nothing calls this directly

Calls 2

RunTaskCaseFunction · 0.92
DepFunction · 0.92

Tested by

no test coverage detected