test: add Auto delimiter tests for newline and signed values
Covers additional edge cases for the Auto delimiter fix: - newline-separated input - signed (negative) values with Auto delimiter Ref: #2217
This commit is contained in:
parent
ae0e989635
commit
d09ba82159
@ -63,4 +63,26 @@ TestRegister.addTests([
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "From Decimal with Auto delimiter (newline)",
|
||||
input: "72\n101\n108\n108\n111",
|
||||
expectedOutput: "Hello",
|
||||
recipeConfig: [
|
||||
{
|
||||
op: "From Decimal",
|
||||
args: ["Auto", false]
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "From Decimal with Auto delimiter and signed values",
|
||||
input: "-130 -140 -152 -151 115 33 0 -1",
|
||||
expectedOutput: "~this!\u0000\u00ff",
|
||||
recipeConfig: [
|
||||
{
|
||||
op: "From Decimal",
|
||||
args: ["Auto", true]
|
||||
},
|
||||
],
|
||||
},
|
||||
]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user