This commit is contained in:
Oliver Rahner 2025-04-14 18:46:50 +01:00 committed by GitHub
commit 2280c87374
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 108 additions and 0 deletions

View file

@ -303,4 +303,33 @@ TestRegister.addTests([
}
]
},
{
name: "Protobuf Stream Decode: no schema",
input: "0d081c1203596f751a024d65202b0c0a0a0a066162633132331200",
expectedOutput: JSON.stringify([
{
"1": 28,
"2": "You",
"3": "Me",
"4": 43
},
{
"1": {
"1": "abc123",
"2": {}
}
}
], null, 4),
recipeConfig: [
{
"op": "From Hex",
"args": ["Auto"]
},
{
"op": "Protobuf Stream Decode",
"args": [false]
}
]
},
]);