1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-10-09 21:03:17 +02:00

test: cover terminal newline in text capture

This commit is contained in:
archivr-qa 2026-08-24 16:13:05 +02:00
parent 771c64a811
commit e371b37290
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -2907,7 +2907,7 @@ mod tests {
store_path: store_path.clone(),
name: "test-archive".to_string(),
};
let body = " \n# Heading\n\nContent with a final newline\n\t ";
let body = " \n# Heading\n\nContent with a final newline\n\t \n";
perform_text_capture(
&archive_paths,

View file

@ -4246,7 +4246,7 @@ mod tests {
let dir = tempfile::tempdir().unwrap();
let (registry, archive_path, auth_path) = make_test_registry(&dir);
let session_cookie = make_test_session(&auth_path);
let text_body = " \n# Heading\n\nContent with a final newline\n\t ";
let text_body = " \n# Heading\n\nContent with a final newline\n\t \n";
let response = app(registry, auth_path)
.oneshot(
Request::builder()