aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-08-05 23:27:32 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-08-19 00:44:35 +0200
commit4a4e238d1f01eefb527bf2c3f4685863477d9eaa (patch)
tree5a0fe9732eb69476bd1f3c5ec787931bda8e24d3
parentd19b8e1a09858c0580f6b7a8939c5c59114ff7a0 (diff)
downloadgit-bug-4a4e238d1f01eefb527bf2c3f4685863477d9eaa.tar.gz
bridge/github: add exporter test cases for label change bug
-rw-r--r--bridge/github/export_test.go8
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",