mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-14 10:14:53 -04:00
Create line break test
This commit is contained in:
parent
58ecadf9c4
commit
c96b942fc2
1 changed files with 21 additions and 0 deletions
21
tests/operations/tests/LineBreak.mjs
Normal file
21
tests/operations/tests/LineBreak.mjs
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* @author ThomasNotTom
|
||||
* @copyright Crown Copyright 2025
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
import TestRegister from "../../lib/TestRegister.mjs";
|
||||
|
||||
TestRegister.addTests([
|
||||
{
|
||||
// Check line remains unbroken
|
||||
name: "Line Break: No break",
|
||||
input: "Hello, world!",
|
||||
expectedOutput: "Hello, world!",
|
||||
recipeConfig: [
|
||||
{
|
||||
"op": "Line Break",
|
||||
"args": [32, false]
|
||||
}
|
||||
]
|
||||
}
|
||||
]);
|
Loading…
Add table
Add a link
Reference in a new issue