4 Commits

Author SHA1 Message Date
Simon Maertens
862b5bcc68 ts: add tests for pwsh 2024-09-15 15:02:51 +02:00
Xavier Delaruelle
ef576c5fd9 Trim function body passed to set-function cmd
Trim any whitespace, newline or ';' characters at the beginning or end
of the function body passed to set-function modulefile command to
correctly define shell function whatever the writing style used.
2018-12-24 13:59:13 +01:00
Xavier Delaruelle
e58e12b28f ts: fix tests based on modulecmd.tcl content
As 'adopt minimal escaping style' change the piece of string searched by
some tests.
2018-10-21 10:48:06 +02:00
Ben Bowers
3dc5ecee89 added set-function and unset-function commands
fixed linelength and tabs/spaces

adding set-function/unset-function documentation

adding tests for set-function/unset-function

fixed failing test for function modulefile additions
2018-10-17 09:45:33 +02:00