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

Function test_line_status_prefix

atomic-core/src/diff/display.rs:788–792  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

786
787 #[test]
788 fn test_line_status_prefix() {
789 assert_eq!(LineStatus::Unchanged.prefix(), ' ');
790 assert_eq!(LineStatus::Added.prefix(), '+');
791 assert_eq!(LineStatus::Removed.prefix(), '-');
792 }
793
794 #[test]
795 fn test_line_status_is_change() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected