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

Function test_nothing_to_record_suggestion

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

Source from the content-addressed store, hash-verified

816
817 #[test]
818 fn test_nothing_to_record_suggestion() {
819 let err = CliError::NothingToRecord;
820 let suggestion = err.suggestion();
821 assert!(suggestion.is_some());
822 assert!(suggestion.unwrap().contains("atomic add"));
823 }
824
825 #[test]
826 fn test_internal_error_suggestion() {

Callers

nothing calls this directly

Calls 1

suggestionMethod · 0.45

Tested by

no test coverage detected