diff options
author | Michael Muré <batolettre@gmail.com> | 2020-07-28 14:24:04 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-07-28 14:30:07 +0200 |
commit | a62ce78c4fc4e541cecaab0ab22def8752d3d9e2 (patch) | |
tree | 434b75cbe63543ba5f609dadfb0e891765d13ea8 /bug/bug_test.go | |
parent | 18ddc775905bdeabf2be4afb6fe62d2013b06dec (diff) | |
download | git-bug-a62ce78c4fc4e541cecaab0ab22def8752d3d9e2.tar.gz |
bug: code cleanup for the rm feature
Diffstat (limited to 'bug/bug_test.go')
-rw-r--r-- | bug/bug_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bug/bug_test.go b/bug/bug_test.go index d6c80efc..400e50f8 100644 --- a/bug/bug_test.go +++ b/bug/bug_test.go @@ -171,4 +171,8 @@ func TestBugRemove(t *testing.T) { _, err = ReadRemoteBug(repo, "remoteB", b.Id()) require.Error(t, ErrBugNotExist, err) + + ids, err := ListLocalIds(repo) + require.NoError(t, err) + require.Len(t, ids, 100) } |