MCPcopy Create free account
hub / github.com/chatmail/core / test_spaces

Function test_spaces

src/dehtml.rs:585–592  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

583
584 #[test]
585 fn test_spaces() {
586 let input = include_str!("../test-data/spaces.html");
587 let txt = dehtml(input).unwrap();
588 assert_eq!(
589 txt.text,
590 "Welcome back to Strolling!\n\nHey there,\n\nWelcome back! Use this link to securely sign in to your Strolling account:\n\nSign in to Strolling\n\nFor your security, the link will expire in 24 hours time.\n\nSee you soon!\n\nYou can also copy & paste this URL into your browser:\n\nhttps://strolling.rosano.ca/members/?token=XXX&action=signin&r=https%3A%2F%2Fstrolling.rosano.ca%2F\n\nIf you did not make this request, you can safely ignore this email.\n\nThis message was sent from [strolling.rosano.ca](https://strolling.rosano.ca/) to [alice@example.org](mailto:alice@example.org)"
591 );
592 }
593}

Callers

nothing calls this directly

Calls 1

dehtmlFunction · 0.85

Tested by

no test coverage detected