16 lines · 362 B · Rust
RawDownload
use crate::parse::assert_failure; #[test]fn unknown_protocol() {    assert_failure("foo://host.xz/path/to/repo.git/", "Protocol 'foo' is not supported")} #[test]fn missing_path() {    assert_failure("ssh://host.xz", "Paths cannot be empty")} #[test]fn missing_port_despite_indication() {    assert_failure("ssh://host.xz:", "Paths cannot be empty")}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t