We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad1227c commit ef8dddfCopy full SHA for ef8dddf
1 file changed
tests/tools_test.rs
@@ -1,4 +1,4 @@
1
-use torot_lib::core::tools::{infer_target_kind, host_from_target, url_from_target};
+use torot_lib::core::tools::{host_from_target, infer_target_kind, url_from_target};
2
3
#[test]
4
fn test_infer_target_kind_url() {
@@ -21,9 +21,15 @@ fn test_host_from_target() {
21
22
23
fn test_url_from_target() {
24
- assert_eq!(url_from_target("https://example.com"), "https://example.com");
+ assert_eq!(
25
+ url_from_target("https://example.com"),
26
+ "https://example.com"
27
+ );
28
assert_eq!(url_from_target("example.com"), "https://example.com");
- assert_eq!(url_from_target("http://test.com/path"), "http://test.com/path");
29
30
+ url_from_target("http://test.com/path"),
31
+ "http://test.com/path"
32
33
}
34
35
0 commit comments