Run docs tests against current work tree

by creating a temporary go workspace to be used by gfmrun via `TMPDIR`.
This commit is contained in:
2022-05-22 22:18:00 -04:00
parent 24197006ef
commit 5edc1b95e8
2 changed files with 37 additions and 4 deletions

View File

@@ -363,7 +363,7 @@ For example this:
<!-- {
"args": ["&#45;&#45;help"],
"output": "add a task to the list\n.*complete a task on the list\n.*\n\n.*\n.*Load configuration from FILE\n.*Language for the greeting.*"
"output": ".*Language for the greeting.*"
} -->
``` go
package main