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

Function test_debug_binary

atomic-core/src/diff/line.rs:517–522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

515
516 #[test]
517 fn test_debug_binary() {
518 let line = Line::new(&[0xff, 0xfe, 0x00]);
519 let debug = format!("{:?}", line);
520 // Should not panic, should show bytes
521 assert!(debug.contains("Line"));
522 }
523
524 #[test]
525 fn test_as_ref() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected