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

Function test_file_not_tracked_suggestion

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

Source from the content-addressed store, hash-verified

970
971 #[test]
972 fn test_file_not_tracked_suggestion() {
973 let err = CliError::FileNotTracked {
974 path: "test.txt".into(),
975 };
976 let suggestion = err.suggestion();
977 assert!(suggestion.is_some());
978 assert!(suggestion.unwrap().contains("atomic add"));
979 }
980
981 #[test]
982 fn test_nothing_to_record_suggestion() {

Callers

nothing calls this directly

Calls 1

suggestionMethod · 0.45

Tested by

no test coverage detected