mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-18 16:27:52 +00:00
Add test that generated usage function is equivalent to original
This commit is contained in:
parent
5e04b21a70
commit
a6771a6fb7
@ -1,4 +1,5 @@
|
||||
base
|
||||
subshell-usage
|
||||
subshell-simple
|
||||
subshell-undeclared
|
||||
subshell-source
|
||||
|
4
meta-tests/subshell-usage.sh
Executable file
4
meta-tests/subshell-usage.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ./mo
|
||||
diff <(moUsage) <((moDeclare; echo moUsage) | bash)
|
Loading…
Reference in New Issue
Block a user