refactor: unify how executor tests are written (#2042)

* feat: use TaskTest for executor tests

* feat: more tests

* feat: separate tests for executing and formatting with new functional options that work for both test types

* feat: formatter tests

* refactor: more tests
This commit is contained in:
Pete Davison
2025-03-31 17:53:58 +01:00
committed by GitHub
parent 180fcef364
commit 4736bc2734
175 changed files with 1706 additions and 1111 deletions

View File

@@ -0,0 +1,5 @@
GOOS='linux' GOARCH='amd64' CGO_ENABLED='0'
FOO='foo' BAR='overridden' BAZ='baz'
QUX='from_os'
FOO='1' BAR='true' BAZ='1.1'
foo

View File

@@ -0,0 +1,5 @@
GOOS='linux' GOARCH='amd64' CGO_ENABLED='0'
FOO='foo' BAR='overridden' BAZ='baz'
QUX='from_taskfile'
FOO='1' BAR='true' BAZ='1.1'
foo