We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ff3da commit 3e4b54cCopy full SHA for 3e4b54c
lightning/src/util/ser_macros.rs
@@ -1677,9 +1677,9 @@ mod tests {
1677
}
1678
1679
// TLVs from the BOLT test cases which should not decode as either n1 or n2
1680
- do_test!(concat!("fd01"), ShortRead);
+ do_test!("fd01", ShortRead);
1681
do_test!(concat!("fd0001", "00"), InvalidValue);
1682
- do_test!(concat!("fd0101"), ShortRead);
+ do_test!("fd0101", ShortRead);
1683
do_test!(concat!("0f", "fd"), ShortRead);
1684
do_test!(concat!("0f", "fd26"), ShortRead);
1685
do_test!(concat!("0f", "fd2602"), ShortRead);
@@ -1763,7 +1763,7 @@ mod tests {
1763
};
1764
1765
1766
- do_test!(concat!(""), None, None, None, None);
+ do_test!("", None, None, None, None);
1767
do_test!(concat!("21", "00"), None, None, None, None);
1768
do_test!(concat!("fd0201", "00"), None, None, None, None);
1769
do_test!(concat!("fd00fd", "00"), None, None, None, None);
0 commit comments