Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_init_with_view
Function
test_init_with_view
atomic-cli/src/commands/init.rs:815–818 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
813
814
#[test]
815
fn test_init_with_view() {
816
let init = Init::new().with_view(
"main"
);
817
assert_eq!(init.view,
"main"
);
818
}
819
820
#[test]
821
fn test_init_with_kind() {
Callers
nothing calls this directly
Calls
1
with_view
Method · 0.45
Tested by
no test coverage detected