Create line break test
This commit is contained in:
parent
58ecadf9c4
commit
c96b942fc2
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…
x
Reference in New Issue
Block a user