MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_init_new

Function test_init_new

atomic-cli/src/commands/init.rs:791–798  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

789
790 #[test]
791 fn test_init_new() {
792 let init = Init::new();
793 assert_eq!(init.path, PathBuf::from("."));
794 assert_eq!(init.view, DEFAULT_VIEW_NAME);
795 assert!(init.kind.is_none());
796 assert!(init.vault);
797 assert!(!init.no_vault);
798 }
799
800 #[test]
801 fn test_init_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected