mirror of
https://github.com/go-task/task.git
synced 2025-06-15 00:15:10 +02:00
assert error message
This commit is contained in:
@ -647,5 +647,8 @@ func TestDisplaysErrorOnUnsupportedVersion(t *testing.T) {
|
||||
Stdout: ioutil.Discard,
|
||||
Stderr: ioutil.Discard,
|
||||
}
|
||||
assert.Error(t, e.Setup())
|
||||
err := e.Setup()
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, "task: Taskfile versions prior to v2 are not supported anymore", err.Error())
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user