MCPcopy Create free account
hub / github.com/emwalker/digraph / nytimes_link

Function nytimes_link

backend/src/http/repo_url.rs:254–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252
253 #[test]
254 fn nytimes_link() {
255 let url = parse("https://www.nytimes.com/2019/04/12/world/canada/foreign-election-interference-social-media.html?partner=rss&emc=rss");
256 assert_eq!(
257 url.normalized,
258 "https://www.nytimes.com/2019/04/12/world/canada/foreign-election-interference-social-media.html"
259 );
260 }
261
262 #[test]
263 fn link_with_an_anchor() {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected