test: add newline test case

pull/24376/head
Dom 2020-11-30 11:57:48 +00:00
parent f08846ca50
commit 37fea83ca9
1 changed files with 2 additions and 1 deletions

View File

@ -406,11 +406,12 @@ mod tests {
let mut server = Server::new(manager, store);
server.set_id(1);
let reject: [&str; 4] = [
let reject: [&str; 5] = [
"bananas!",
r#""bananas\"are\"great"#,
"bananas:good",
"bananas/cavendish",
"bananas\n",
];
for &name in &reject {