! exec hof flow flow.cue
cmp stdout golden.stdout

-- flow.cue --
tasks: {
  @flow()
	r: { filename: "in.txt", contents: string } @task(os.ReadFile)
}

-- golden.stdout --
Error in tasks | tasks: task failed: in "r"
open in.txt: no such file or directory

<nil>

1 error(s) were encountered
