Skip to content

Commit 3e4b54c

Browse files
committed
Fix useless concat
1 parent e2ff3da commit 3e4b54c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/util/ser_macros.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,9 +1677,9 @@ mod tests {
16771677
}
16781678

16791679
// TLVs from the BOLT test cases which should not decode as either n1 or n2
1680-
do_test!(concat!("fd01"), ShortRead);
1680+
do_test!("fd01", ShortRead);
16811681
do_test!(concat!("fd0001", "00"), InvalidValue);
1682-
do_test!(concat!("fd0101"), ShortRead);
1682+
do_test!("fd0101", ShortRead);
16831683
do_test!(concat!("0f", "fd"), ShortRead);
16841684
do_test!(concat!("0f", "fd26"), ShortRead);
16851685
do_test!(concat!("0f", "fd2602"), ShortRead);
@@ -1763,7 +1763,7 @@ mod tests {
17631763
};
17641764
}
17651765

1766-
do_test!(concat!(""), None, None, None, None);
1766+
do_test!("", None, None, None, None);
17671767
do_test!(concat!("21", "00"), None, None, None, None);
17681768
do_test!(concat!("fd0201", "00"), None, None, None, None);
17691769
do_test!(concat!("fd00fd", "00"), None, None, None, None);

0 commit comments

Comments
 (0)