From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- third_party/rust/url/rust-url-todo | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 third_party/rust/url/rust-url-todo (limited to 'third_party/rust/url/rust-url-todo') diff --git a/third_party/rust/url/rust-url-todo b/third_party/rust/url/rust-url-todo new file mode 100644 index 000000000..6aeefbf13 --- /dev/null +++ b/third_party/rust/url/rust-url-todo @@ -0,0 +1,14 @@ +* standalone path parsing? +* Test setters + * Test trim C0/space + * Test remove tab & newline + + + +#[test] +fn test_path_segments() { + let mut url = Url::parse("http://example.net").unwrap(); + url.push_path_segment("foo").unwrap(); + url.extend_path_segments(&["bar", "b/az"]).unwrap(); + assert_eq!(url.as_str(), "http://example.net/foo"); +} -- cgit v1.2.3