diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-05-14 01:46:07 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-05-23 14:21:44 +0200 |
commit | 2a9705612478bfae4515616d9649ddfb140b54cf (patch) | |
tree | 4b46b7f4a0872ab9e41768e43abbc6c80ee7d50d /bridge/github/import_test.go | |
parent | 12f6fd61be835ca37e6a4e8a17abd4b8175e6ba0 (diff) | |
download | git-bug-2a9705612478bfae4515616d9649ddfb140b54cf.tar.gz |
introduce `nextValidIssueEdit` and `nextValidCommentEdit` to escape empty `Diff`objects
calling nextValidEdit functions directly after a new query (Fixing a bug where capacity=2)
Diffstat (limited to 'bridge/github/import_test.go')
-rw-r--r-- | bridge/github/import_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/github/import_test.go b/bridge/github/import_test.go index 48283b7a..7f83130c 100644 --- a/bridge/github/import_test.go +++ b/bridge/github/import_test.go @@ -152,7 +152,7 @@ func Test_Importer(t *testing.T) { fmt.Printf("test repository imported in %f seconds\n", time.Since(start).Seconds()) - require.Len(t, backend.AllBugsIds(), 9) + require.Len(t, backend.AllBugsIds(), len(tests)) for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { |