Fix gitlab tests

This commit is contained in:
Yarmo Mackenbach 2020-10-26 22:55:27 +01:00
parent f6738e978d
commit 12e638f8de

View file

@ -74,15 +74,15 @@ const processURI = (uri, opts) => {
const tests = [ const tests = [
{ {
uri: 'https://gist.github.com/Alice/123456789', uri: 'https://gitlab.domain.org/alice/gitlab_proof',
shouldMatch: true shouldMatch: true
}, },
{ {
uri: 'https://gist.github.com/Alice/123456789/', uri: 'https://gitlab.domain.org/alice/gitlab_proof/',
shouldMatch: true shouldMatch: true
}, },
{ {
uri: 'https://domain.org/Alice/123456789', uri: 'https://domain.org/alice/other_proof',
shouldMatch: false shouldMatch: false
} }
] ]