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

Function test_missing_dependency_display

atomic-cli/src/error.rs:852–861  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

850
851 #[test]
852 fn test_missing_dependency_display() {
853 let err = CliError::MissingDependency {
854 change: "ABC".into(),
855 dependency: "XYZ".into(),
856 };
857 let msg = err.to_string();
858 assert!(msg.contains("Missing dependency"));
859 assert!(msg.contains("ABC"));
860 assert!(msg.contains("XYZ"));
861 }
862
863 // -------------------------------------------------------------------------
864 // Error Classification Tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected