diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-22 18:56:14 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-23 17:18:04 +0200 |
commit | ece2cb126293361212d7673fea976876af7b811b (patch) | |
tree | f0ad5735e51719f5b41099f379ff1f2ee9446b8b /bridge/gitlab/config_test.go | |
parent | 54dd81e3376ef557b5be3aa642accec219005949 (diff) | |
download | git-bug-ece2cb126293361212d7673fea976876af7b811b.tar.gz |
bridge/gitlab: improve tests and errors
bridge/gitlab: global fixes
Diffstat (limited to 'bridge/gitlab/config_test.go')
-rw-r--r-- | bridge/gitlab/config_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bridge/gitlab/config_test.go b/bridge/gitlab/config_test.go index 248cdb66..87469796 100644 --- a/bridge/gitlab/config_test.go +++ b/bridge/gitlab/config_test.go @@ -69,6 +69,15 @@ func TestProjectPath(t *testing.T) { err: nil, }, }, + { + name: "bad url", + args: args{ + url: "---,%gitlab.com/MichaelMure/git-bug.git", + }, + want: want{ + err: ErrBadProjectURL, + }, + }, } for _, tt := range tests { |