mirror of
https://github.com/go-task/task.git
synced 2025-02-09 13:47:06 +02:00
assert error message
This commit is contained in:
parent
ce4e187cbc
commit
af5d9c952d
@ -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())
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user