Commit Graph

14 Commits

Author SHA1 Message Date
Tyler Akins
0f150ccb19
Fixing standalone detection with blocks
27 tests pass, 18 still fail
2023-04-22 08:16:49 -05:00
Tyler Akins
7604ce3054
Pass shellcheck, more specs are handled, preserve function whitespace
This closes .
2023-04-10 08:10:14 -05:00
Tyler Akins
e0e9189355
Bugfixes, pretty printing, new tests added
Spec result: 108 specs pass, 6 skipped, 67 fail
2023-04-09 18:53:55 -05:00
Tyler Akins
febd3467c8
Attempting to address shortcomings and whitespace issues 2023-04-07 19:35:25 -05:00
Tyler Akins
54195a6c6e
Fixing test script to return 0 on success 2021-11-25 16:02:21 -06:00
Tyler Akins
dcd9d7738b Adding tests, shellcheck cleanup, update docs, release 2.2.0 2020-08-05 15:44:04 -05:00
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
Tyler Akins
c6bbf89f84 Fixing things reported by shellcheck 2016-08-03 10:19:43 -05:00
Tyler Akins
1c03949107 Enabling a "false is empty" style check.
This is based off of pull request  from @athieriot.
Thanks for the idea!  I've implemented it as a flag and an environment
variable that can be enabled.  I've also added another test to handle
the environment variable.
2016-07-27 09:56:33 -05:00
Tyler Akins
600f5c5725 Adding mechanism to test command-line variables 2016-07-21 07:06:39 -05:00
Tyler Akins
3354bd7089 Using env to find bash 2015-10-02 09:46:41 -05:00
Tyler Akins
b16d73b5a7 Updates for how to source "mo" and then use it
When you source mo, it adds the "mo" function to the environment.
2015-08-27 09:44:04 -05:00
Tyler Akins
7a271b58f6 In case of error, pipe something in
This lets me run tests in a terminal.  If I mess up and the terminal is
being read by `cat` or similar, this input is used instead and now my
tests will automatically fail properly.
2015-01-23 18:05:27 +00:00
Tyler Akins
1151ec0a9e Initial commit 2015-01-23 17:43:08 +00:00