diff options
Diffstat (limited to 'testdata/local/get.data')
| -rw-r--r-- | testdata/local/get.data | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/testdata/local/get.data b/testdata/local/get.data index 0e7ee57..c0e24ec 100644 --- a/testdata/local/get.data +++ b/testdata/local/get.data @@ -1,5 +1,18 @@ -Test on magic command "#get:". +Test output from magic command "#get:" and "#get!" <<< tmp/get_plain.txt The host name is {{.Val "host::name"}}. + +<<< tmp/os-release +NAME="Arch Linux" +PRETTY_NAME="Arch Linux" +ID=arch +BUILD_ID=rolling +ANSI_COLOR="38;2;23;147;209" +HOME_URL="https://archlinux.org/" +DOCUMENTATION_URL="https://wiki.archlinux.org/" +SUPPORT_URL="https://bbs.archlinux.org/" +BUG_REPORT_URL="https://bugs.archlinux.org/" +PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" +LOGO=archlinux-logo |
