mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-14 10:14:53 -04:00
Create test for breaking line and removing of whitespace
This commit is contained in:
parent
39cc80f0f0
commit
f92d780764
1 changed files with 11 additions and 0 deletions
|
@ -28,5 +28,16 @@ TestRegister.addTests([
|
|||
"args": [6, false]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
// Check line breaks and leading whitespace is removed.
|
||||
name: "Line Break: With break and no leading whitespace",
|
||||
input: "Hello, world!",
|
||||
expectedOutput: "Hello,\nworld!",
|
||||
recipeConfig: [
|
||||
{
|
||||
"op": "Line Break",
|
||||
"args": [6, true]
|
||||
}
|
||||
]
|
||||
}
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue