mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 19:55:03 +01:00
first test passes uwu
This commit is contained in:
parent
6f5fef2f23
commit
9a819bc3f4
7 changed files with 30 additions and 24 deletions
|
|
@ -176,11 +176,14 @@ pub type IResult<'a, T> = nom::IResult<&'a [u8], T, TransError>;
|
|||
).ok();
|
||||
}
|
||||
"short" => {
|
||||
writeln!(
|
||||
// todo https://github.com/amqp-node/amqplib/issues/672
|
||||
if var_name != "channel_max" {
|
||||
writeln!(
|
||||
self.output,
|
||||
r#" if {var_name} == 0 {{ fail!("number was 0 for field {var_name}") }}"#
|
||||
)
|
||||
.ok();
|
||||
}
|
||||
}
|
||||
_ => unimplemented!(),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue