You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add ToUpper and ToLower to Template funcMap
Add basic ToUpper and ToLower support for Template pipelines.
* Add integration test
* Add ToLower/ToUpper documentation
* Make casing consistent on new template functions
Copy file name to clipboardExpand all lines: docs/manual.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -870,6 +870,8 @@ Available functions beyond text/template [built-in functions](https://golang.org
870
870
* `readFile "fileName"` - Reads file content into a string, trims whitespace. Useful when a file contains a token.
871
871
* **NOTE:** Goss will error out during during the parsing phase if the file does not exist, no tests will be executed.
872
872
* `regexMatch "(some)?reg[eE]xp"` - Tests the piped input against the regular expression argument.
873
+
* `toLower` - Changes piped input to lowercase
874
+
* `toUpper` - Changes piped input to UPPERCASE
873
875
874
876
**NOTE:** gossfiles containing text/template `{{}}` controls will no longer work with `goss add/autoadd`. One way to get around this is to split your template and static goss files and use [gossfile](#gossfile) to import.
0 commit comments