Add a test for an odd number of bytes in xxd format

This commit is contained in:
GCHQDeveloper581 2026-02-04 08:25:27 +00:00
parent f14896ab0a
commit 9caf5b2464
No known key found for this signature in database
GPG Key ID: 6222E059A3DF595C

View File

@ -152,6 +152,17 @@ TestRegister.addTests([
} }
], ],
}, },
{
name: "From Hexdump: xxd format, odd number of bytes",
input: "00000000: 6162 6364 65 abcde",
expectedOutput: "abcde",
recipeConfig: [
{
op: "From Hexdump",
args: []
}
],
},
{ {
name: "From Hexdump: Wireshark", name: "From Hexdump: Wireshark",
input: `00000000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f ........ ........ input: `00000000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f ........ ........