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

Function test_is_user_fixable

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

Source from the content-addressed store, hash-verified

918
919 #[test]
920 fn test_is_user_fixable() {
921 assert!(CliError::repository_not_found("/path").is_user_fixable());
922 assert!(CliError::NothingToRecord.is_user_fixable());
923 assert!(CliError::FileNotTracked {
924 path: "test.txt".into()
925 }
926 .is_user_fixable());
927
928 assert!(!CliError::Cancelled.is_user_fixable());
929 assert!(!CliError::Io(std::io::Error::other("test")).is_user_fixable());
930 }
931
932 #[test]
933 fn test_requires_force_is_user_fixable_not_internal() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected