summaryrefslogtreecommitdiff
path: root/main_test.go
diff options
context:
space:
mode:
authorEvgeny Kuznetsov <evgeny@kuznetsov.md>2023-03-23 17:43:04 +0300
committerEvgeny Kuznetsov <evgeny@kuznetsov.md>2023-03-23 17:43:04 +0300
commitd978dcc025da82176a6824fd596a545f431aa999 (patch)
treebcf35427738adc3c019f42d7c8094dfbdf81ece8 /main_test.go
parent078ebd04c6a3088b8c2c35070490eb34cf4c6708 (diff)
downloadstatic-wm-d978dcc025da82176a6824fd596a545f431aa999.tar.gz
static-wm-d978dcc025da82176a6824fd596a545f431aa999.zip
fix: typo
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_test.go b/main_test.go
index 37fe250..e88c5b7 100644
--- a/main_test.go
+++ b/main_test.go
@@ -21,7 +21,7 @@ func TestSyncRejection(t *testing.T) {
{"invalid source", "https||:example.org/somewhere", "my.site/part/target", errSrcInvalid},
{"target no accepted", "https://example.org/somewhere", "wrong.site/tgt", errTgtNotAccepted},
{"wrong source scheme", "ftp://example.org/somewhere", "http://my.site/part/tgt", errInvalidScheme},
- {"wrong source scheme", "http://example.org/somewhere", "ssh://my.site/part/tgt", errInvalidScheme},
+ {"wrong target scheme", "http://example.org/somewhere", "ssh://my.site/part/tgt", errInvalidScheme},
}
for _, tc := range tests {