Add test for non-Latin1 character code
This commit is contained in:
parent
96bc24f994
commit
3b581888a9
@ -179,4 +179,21 @@ TestRegister.addTests([
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Text-Integer Conversion non-Latin1 character in input",
|
||||||
|
input: "61 ce 93 61",
|
||||||
|
expectedOutput:
|
||||||
|
`Character at position 1 exceeds Latin-1 range (0-255).
|
||||||
|
Only ASCII and Latin-1 characters are supported.`,
|
||||||
|
recipeConfig: [
|
||||||
|
{
|
||||||
|
"op": "From Hex",
|
||||||
|
"args": ["Auto"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
op: "Text-Integer Conversion",
|
||||||
|
args: ["Decimal"],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
]);
|
]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user