mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
Fix error message assertion in task_test
This commit is contained in:
@@ -765,7 +765,7 @@ func TestIncludesMultiLevel(t *testing.T) {
|
|||||||
|
|
||||||
func TestIncludeCycle(t *testing.T) {
|
func TestIncludeCycle(t *testing.T) {
|
||||||
const dir = "testdata/includes_cycle"
|
const dir = "testdata/includes_cycle"
|
||||||
expectedError := "include cycle detected between testdata/includes_cycle/Taskfile.yml <--> testdata/includes_cycle/one/two/Taskfile.yml"
|
expectedError := "task: include cycle detected between testdata/includes_cycle/Taskfile.yml <--> testdata/includes_cycle/one/two/Taskfile.yml"
|
||||||
|
|
||||||
var buff bytes.Buffer
|
var buff bytes.Buffer
|
||||||
e := task.Executor{
|
e := task.Executor{
|
||||||
|
Reference in New Issue
Block a user