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

Function test_hunk_line_is_change

atomic-cli/src/commands/diff/tests.rs:392–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

390
391 #[test]
392 fn test_hunk_line_is_change() {
393 assert!(!HunkLine::context("x", 1, 1).is_change());
394 assert!(HunkLine::added("x", 1).is_change());
395 assert!(HunkLine::removed("x", 1).is_change());
396 }
397
398 #[test]
399 fn test_hunk_line_is_context() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected