()
| 1070 | |
| 1071 | #[test] |
| 1072 | fn test_iter_bytes_with_values() { |
| 1073 | let kargs = Cmdline::from(b"foo=bar baz=qux wiz"); |
| 1074 | let params: Vec<_> = kargs.iter_bytes().collect(); |
| 1075 | |
| 1076 | assert_eq!(params.len(), 3); |
| 1077 | assert_eq!(params[0], b"foo=bar"); |
| 1078 | assert_eq!(params[1], b"baz=qux"); |
| 1079 | assert_eq!(params[2], b"wiz"); |
| 1080 | } |
| 1081 | |
| 1082 | #[test] |
| 1083 | fn test_iter_bytes_with_quotes() { |
nothing calls this directly
no test coverage detected