Create test for checking broken line
This commit is contained in:
parent
e525cfeaf5
commit
b87f1f2e88
@ -17,5 +17,16 @@ TestRegister.addTests([
|
|||||||
"args": [32, false]
|
"args": [32, false]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}, {
|
||||||
|
// Check line remains unbroken
|
||||||
|
name: "Line Break: With break",
|
||||||
|
input: "Hello, world!",
|
||||||
|
expectedOutput: "Hello,\n world\n!",
|
||||||
|
recipeConfig: [
|
||||||
|
{
|
||||||
|
"op": "Line Break",
|
||||||
|
"args": [6, false]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user