From 11e04748b93621a7d377d3163381ff1f38e5fdbe Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Sat, 22 Dec 2018 04:36:32 +0100 Subject: Allow empty messages in comments. Some bug trackers, like Launchpad, allow messages to be empty (when adding a file to the bug, for instance). --- bug/operation_test.go | 1 - 1 file changed, 1 deletion(-) (limited to 'bug/operation_test.go') diff --git a/bug/operation_test.go b/bug/operation_test.go index 9296e247..255d6d98 100644 --- a/bug/operation_test.go +++ b/bug/operation_test.go @@ -47,7 +47,6 @@ func TestValidate(t *testing.T) { NewSetTitleOp(rene, unix, "title", "multi\nline"), NewSetTitleOp(rene, unix, "title\u001b", "title2"), NewSetTitleOp(rene, unix, "title", "title2\u001b"), - NewAddCommentOp(rene, unix, "", nil), NewAddCommentOp(rene, unix, "message\u001b", nil), NewAddCommentOp(rene, unix, "message", []git.Hash{git.Hash("invalid")}), NewSetStatusOp(rene, unix, 1000), -- cgit