mo/tests/function.env
Tyler Akins 0627cbbaf8
Making tests care about whitespace
When testing  I found that the tests were mistakenly ignoring some
whitespace changes. I've enabled whitespace checks and had to update the
tests because my editor likes newlines at the end of files and removes
whitespace at the end of lines. To make the test files easier to manage,
I've modified some scenarios to still test for the feature but also work
with the whitespace modifications that editors would perform.
2017-08-02 10:35:35 -05:00

6 lines
85 B
Bash

name=Willy
wrapped() {
# The final newline is eaten by mo
echo "<b>$1</b>"
}