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

Function test_log_with_view_string

atomic-cli/src/commands/log/tests.rs:216–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214
215 #[test]
216 fn test_log_with_view_string() {
217 let log = Log::new().with_view(String::from("dev"));
218 assert_eq!(log.view, Some("dev".to_string()));
219 }
220
221 #[test]
222 fn test_log_with_tags_only() {

Callers

nothing calls this directly

Calls 1

with_viewMethod · 0.45

Tested by

no test coverage detected