Create test for breaking line and removing of whitespace

This commit is contained in:
Thomas 2025-06-08 00:59:17 +01:00
parent 39cc80f0f0
commit f92d780764

View file

@ -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]
}
]
}
]);