MCPcopy Create free account
hub / github.com/bootc-dev/bootc / test_iter_bytes_empty

Function test_iter_bytes_empty

crates/kernel_cmdline/src/bytes.rs:1103–1108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1101
1102 #[test]
1103 fn test_iter_bytes_empty() {
1104 let kargs = Cmdline::from(b"");
1105 let params: Vec<_> = kargs.iter_bytes().collect();
1106
1107 assert_eq!(params.len(), 0);
1108 }
1109
1110 #[test]
1111 fn test_cmdline_eq() {

Callers

nothing calls this directly

Calls 1

iter_bytesMethod · 0.80

Tested by

no test coverage detected