From 4a4e238d1f01eefb527bf2c3f4685863477d9eaa Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Mon, 5 Aug 2019 23:27:32 +0200 Subject: bridge/github: add exporter test cases for label change bug --- bridge/github/export_test.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bridge/github') 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", -- cgit