()
| 59 | |
| 60 | #[test] |
| 61 | fn allows_various_spacing() { |
| 62 | // newlines |
| 63 | assert_eq!( |
| 64 | hex!( |
| 65 | "f |
| 66 | f |
| 67 | d |
| 68 | 0 |
| 69 | e |
| 70 | |
| 71 | 8 |
| 72 | " |
| 73 | ), |
| 74 | [0xff, 0xd0, 0xe8] |
| 75 | ); |
| 76 | // tabs |
| 77 | assert_eq!(hex!("9f d 1 f07 3 01 "), [0x9f, 0xd1, 0xf0, 0x73, 0x01]); |
| 78 | // spaces |
| 79 | assert_eq!(hex!(" e e d0 9 1 f f "), [0xee, 0xd0, 0x91, 0xff]); |
| 80 | } |
| 81 | |
| 82 | #[test] |
| 83 | fn can_use_const() { |
nothing calls this directly
no outgoing calls
no test coverage detected