mo/tests
Tyler Akins 0627cbbaf8
Making tests care about whitespace
When testing #19 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
..
array.env Initial commit 2015-01-23 17:43:08 +00:00
array.expected Adding better block detection 2015-01-26 12:51:28 -06:00
array.template Initial commit 2015-01-23 17:43:08 +00:00
comment-newline.env Initial commit 2015-01-23 17:43:08 +00:00
comment-newline.expected Initial commit 2015-01-23 17:43:08 +00:00
comment-newline.template Initial commit 2015-01-23 17:43:08 +00:00
comment.env Initial commit 2015-01-23 17:43:08 +00:00
comment.expected Initial commit 2015-01-23 17:43:08 +00:00
comment.template Initial commit 2015-01-23 17:43:08 +00:00
double-hyphen.expected Handling double-hyphens 2016-07-21 09:47:37 -05:00
double-hyphen.sh Handling double-hyphens 2016-07-21 09:47:37 -05:00
fail-not-set-file.expected Making --fail-not-set work with partials 2017-06-16 10:50:18 +02:00
fail-not-set-file.sh Fixing empty variable failure for --fail-not-set 2017-06-16 15:59:57 +02:00
fail-not-set-file.template Fixing empty variable failure for --fail-not-set 2017-06-16 15:59:57 +02:00
fail-not-set.expected Fixing empty variable failure for --fail-not-set 2017-06-16 15:59:57 +02:00
fail-not-set.sh Fixing empty variable failure for --fail-not-set 2017-06-16 15:59:57 +02:00
false-is-empty-arg.expected Enabling a "false is empty" style check. 2016-07-27 09:56:33 -05:00
false-is-empty-arg.sh Enabling a "false is empty" style check. 2016-07-27 09:56:33 -05:00
false-is-empty-arg.template Enabling a "false is empty" style check. 2016-07-27 09:56:33 -05:00
false-is-empty-env.env Enabling a "false is empty" style check. 2016-07-27 09:56:33 -05:00
false-is-empty-env.expected Enabling a "false is empty" style check. 2016-07-27 09:56:33 -05:00
false-is-empty-env.template Enabling a "false is empty" style check. 2016-07-27 09:56:33 -05:00
false-list.env Initial commit 2015-01-23 17:43:08 +00:00
false-list.expected Initial commit 2015-01-23 17:43:08 +00:00
false-list.template Initial commit 2015-01-23 17:43:08 +00:00
function.env Making tests care about whitespace 2017-08-02 10:35:35 -05:00
function.expected Making tests care about whitespace 2017-08-02 10:35:35 -05:00
function.template Making tests care about whitespace 2017-08-02 10:35:35 -05:00
globals-in-loop.env Allowing access to globals while in a loop 2015-08-27 09:43:10 -05:00
globals-in-loop.expected Allowing access to globals while in a loop 2015-08-27 09:43:10 -05:00
globals-in-loop.template Allowing access to globals while in a loop 2015-08-27 09:43:10 -05:00
help.expected Adding an option to fail upon unset env variables 2017-06-16 10:47:31 +02:00
help.sh Adding mechanism to test command-line variables 2016-07-21 07:06:39 -05:00
indented-partials.env Fixing indentation of partials in a condition 2017-08-02 10:34:58 -05:00
indented-partials.expected Fixing indentation of partials in a condition 2017-08-02 10:34:58 -05:00
indented-partials.partial Fixing indentation of multiple partials 2017-06-20 14:19:44 -05:00
indented-partials.template Fixing indentation of partials in a condition 2017-08-02 10:34:58 -05:00
invalid-option.expected Handling double-hyphens 2016-07-21 09:47:37 -05:00
invalid-option.sh Handling double-hyphens 2016-07-21 09:47:37 -05:00
inverted.env Initial commit 2015-01-23 17:43:08 +00:00
inverted.expected Adding better block detection 2015-01-26 12:51:28 -06:00
inverted.template Initial commit 2015-01-23 17:43:08 +00:00
miss.env Initial commit 2015-01-23 17:43:08 +00:00
miss.expected Making tests care about whitespace 2017-08-02 10:35:35 -05:00
miss.template Making tests care about whitespace 2017-08-02 10:35:35 -05:00
multi-line-partial.env Making tests care about whitespace 2017-08-02 10:35:35 -05:00
multi-line-partial.expected Fixing multi-line partials 2017-04-21 09:37:16 -05:00
multi-line-partial.partial Fixing multi-line partials 2017-04-21 09:37:16 -05:00
multi-line-partial.template Fixing multi-line partials 2017-04-21 09:37:16 -05:00
mush.env Initial commit 2015-01-23 17:43:08 +00:00
mush.expected Adding better block detection 2015-01-26 12:51:28 -06:00
mush.template Initial commit 2015-01-23 17:43:08 +00:00
partial-missing.expected Fix exit code when partial file not found 2017-06-23 21:10:38 +02:00
partial-missing.sh Fix exit code when partial file not found 2017-06-23 21:10:38 +02:00
partial-missing.template Fix exit code when partial file not found 2017-06-23 21:10:38 +02:00
partial.env Initial commit 2015-01-23 17:43:08 +00:00
partial.expected Adding better block detection 2015-01-26 12:51:28 -06:00
partial.partial Initial commit 2015-01-23 17:43:08 +00:00
partial.template Initial commit 2015-01-23 17:43:08 +00:00
source-bad-file.expected Split test into three 2016-07-21 09:34:36 -05:00
source-bad-file.sh Split test into three 2016-07-21 09:34:36 -05:00
source-no-file.expected Split test into three 2016-07-21 09:34:36 -05:00
source-no-file.sh Split test into three 2016-07-21 09:34:36 -05:00
source.expected Add test for --source flag and pull request suggestions 2016-07-21 15:16:46 +01:00
source.sh Split test into three 2016-07-21 09:34:36 -05:00
source.vars Add test for --source flag and pull request suggestions 2016-07-21 15:16:46 +01:00
typical.env Initial commit 2015-01-23 17:43:08 +00:00
typical.expected Adding better block detection 2015-01-26 12:51:28 -06:00
typical.template Initial commit 2015-01-23 17:43:08 +00:00