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

Function test_fields

atomic-cli/src/commands/project/show.rs:127–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125
126 #[test]
127 fn test_fields() {
128 let cmd = ProjectShow {
129 slug: "ws/proj".to_string(),
130 org: None,
131 format: "table".to_string(),
132 };
133 assert_eq!(cmd.slug, "ws/proj");
134 assert!(cmd.org.is_none());
135 assert_eq!(cmd.format, "table");
136 }
137
138 #[test]
139 fn test_json_format() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected