()
| 1081 | |
| 1082 | #[test] |
| 1083 | fn test_iter_bytes_with_quotes() { |
| 1084 | let kargs = Cmdline::from(b"foo=\"bar baz\" qux"); |
| 1085 | let params: Vec<_> = kargs.iter_bytes().collect(); |
| 1086 | |
| 1087 | assert_eq!(params.len(), 2); |
| 1088 | assert_eq!(params[0], b"foo=\"bar baz\""); |
| 1089 | assert_eq!(params[1], b"qux"); |
| 1090 | } |
| 1091 | |
| 1092 | #[test] |
| 1093 | fn test_iter_bytes_extra_whitespace() { |
nothing calls this directly
no test coverage detected