1
0
mirror of https://github.com/go-task/task.git synced 2025-11-25 22:32:55 +02:00

Fix test related to task lables

This commit is contained in:
Ivan Elfimov
2022-09-30 19:17:04 +04:00
parent 122c3f083e
commit b9d070f76b

View File

@@ -546,7 +546,7 @@ func TestLabelInSummary(t *testing.T) {
assert.Contains(t, buff.String(), "foobar") assert.Contains(t, buff.String(), "foobar")
} }
func TestLabelInList(t *testing.T) { func TestNoLabelInList(t *testing.T) {
const dir = "testdata/label_list" const dir = "testdata/label_list"
var buff bytes.Buffer var buff bytes.Buffer
@@ -557,7 +557,7 @@ func TestLabelInList(t *testing.T) {
} }
assert.NoError(t, e.Setup()) assert.NoError(t, e.Setup())
e.ListTasksWithDesc() e.ListTasksWithDesc()
assert.Contains(t, buff.String(), "foobar") assert.Contains(t, buff.String(), "foo")
} }
// task -al case 1: listAll list all tasks // task -al case 1: listAll list all tasks