diff options
author | Michael Muré <batolettre@gmail.com> | 2024-08-25 20:40:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-25 18:40:23 +0000 |
commit | 3a4b8805dfd794cc25f57e99c73ddec651805af1 (patch) | |
tree | b6af67c761c96b323400d061db22ceed73fb0bb0 /bridge/github/import_test.go | |
parent | c3ff05f95bdfad6c2ea4cb899024fd47ac503b5f (diff) | |
download | git-bug-3a4b8805dfd794cc25f57e99c73ddec651805af1.tar.gz |
core: make label a common type, in a similar fashion as for status (#1252)
This will be useful for Board, and likely code review support later
Diffstat (limited to 'bridge/github/import_test.go')
-rw-r--r-- | bridge/github/import_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge/github/import_test.go b/bridge/github/import_test.go index 80be5116..3d583c36 100644 --- a/bridge/github/import_test.go +++ b/bridge/github/import_test.go @@ -72,9 +72,9 @@ func TestGithubImporter(t *testing.T) { bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "complex issue", "initial comment", nil), - bug.NewLabelChangeOperation(author, 0, []bug.Label{"bug"}, []bug.Label{}), - bug.NewLabelChangeOperation(author, 0, []bug.Label{"duplicate"}, []bug.Label{}), - bug.NewLabelChangeOperation(author, 0, []bug.Label{}, []bug.Label{"duplicate"}), + bug.NewLabelChangeOperation(author, 0, []common.Label{"bug"}, []common.Label{}), + bug.NewLabelChangeOperation(author, 0, []common.Label{"duplicate"}, []common.Label{}), + bug.NewLabelChangeOperation(author, 0, []common.Label{}, []common.Label{"duplicate"}), bug.NewAddCommentOp(author, 0, strings.Join([]string{ "### header", "**bold**", |