Skip to content

Commit b8f139f

Browse files
committed
Fix tests
1 parent 48f63f8 commit b8f139f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

args/parse_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ import (
55
)
66

77
func TestParse(t *testing.T) {
8-
expected := []string{"http://example.com"}
8+
expected := []string{"example.com"}
99
parseAndCompare(t, []string{"curlie", "example.com"}, expected)
1010
}
1111

1212
func TestParsePost(t *testing.T) {
13-
expected := []string{"-X", "POST", "http://example.com"}
13+
expected := []string{"-X", "POST", "example.com"}
1414
parseAndCompare(t, []string{"curlie", "post", "example.com"}, expected)
1515
}
1616

1717
func TestParseHead(t *testing.T) {
18-
expected := []string{"-I", "http://example.com"}
18+
expected := []string{"-I", "example.com"}
1919
parseAndCompare(t, []string{"curlie", "head", "example.com"}, expected)
2020
}
2121

0 commit comments

Comments
 (0)