diff options
author | Amine <hilalyamine@gmail.com> | 2019-08-19 01:02:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-19 01:02:29 +0200 |
commit | 91f563da5f508cfcc5dfe6418e2f6333e247ec6e (patch) | |
tree | 5a0fe9732eb69476bd1f3c5ec787931bda8e24d3 /bridge/github/export_test.go | |
parent | 36c91adddfc16b8c5d04eb66dbb4cf8c25cea321 (diff) | |
parent | 4a4e238d1f01eefb527bf2c3f4685863477d9eaa (diff) | |
download | git-bug-91f563da5f508cfcc5dfe6418e2f6333e247ec6e.tar.gz |
Merge pull request #192 from MichaelMure/github-exporter-label
bridge: Github exporter support case sensitive labels
Diffstat (limited to 'bridge/github/export_test.go')
-rw-r--r-- | bridge/github/export_test.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bridge/github/export_test.go b/bridge/github/export_test.go index a0be7cff..e39ace01 100644 --- a/bridge/github/export_test.go +++ b/bridge/github/export_test.go @@ -55,6 +55,12 @@ func testCases(t *testing.T, repo *cache.RepoCache, identity *cache.IdentityCach _, _, err = bugLabelChange.ChangeLabels(nil, []string{"bug"}) require.NoError(t, err) + _, _, err = bugLabelChange.ChangeLabels([]string{"InVaLiD"}, nil) + require.NoError(t, err) + + _, _, err = bugLabelChange.ChangeLabels([]string{"bUG"}, nil) + require.NoError(t, err) + // bug with comments editions bugWithCommentEditions, createOp, err := repo.NewBug("bug with comments editions", "new bug") require.NoError(t, err) @@ -99,7 +105,7 @@ func testCases(t *testing.T, repo *cache.RepoCache, identity *cache.IdentityCach &testCase{ name: "bug label change", bug: bugLabelChange, - numOrOp: 4, + numOrOp: 6, }, &testCase{ name: "bug with comment editions", |