Create test for breaking line and removing of whitespace
This commit is contained in:
parent
39cc80f0f0
commit
f92d780764
@ -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…
x
Reference in New Issue
Block a user