()
| 261 | // Expr::Ref(0, []) -> Tag4 { flag: 0x2, size: 0 } + idx(0) |
| 262 | // = 0x20 + 0x00 |
| 263 | let mut buf = Vec::new(); |
| 264 | serialize::put_expr(&Expr::Ref(0, vec![]), &mut buf); |
| 265 | assert_eq!( |
| 266 | buf, |
| 267 | vec![0x20, 0x00], |
| 268 | "Expr::Ref(0, []) should be [0x20, 0x00]" |
| 269 | ); |
| 270 | } |
| 271 |
nothing calls this directly
no test coverage detected