mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-13 17:55:27 -04:00
Create test for checking broken line
This commit is contained in:
parent
e525cfeaf5
commit
b87f1f2e88
1 changed files with 11 additions and 0 deletions
|
@ -17,5 +17,16 @@ TestRegister.addTests([
|
|||
"args": [32, false]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
// Check line remains unbroken
|
||||
name: "Line Break: With break",
|
||||
input: "Hello, world!",
|
||||
expectedOutput: "Hello,\n world\n!",
|
||||
recipeConfig: [
|
||||
{
|
||||
"op": "Line Break",
|
||||
"args": [6, false]
|
||||
}
|
||||
]
|
||||
}
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue