tests-always-included / mo

Mustache templates in pure bash
Other
563 stars 67 forks source link

Parity: Looping a List of Associative Arrays #59

Closed Swivelgames closed 7 months ago

Swivelgames commented 1 year ago

Implements #58

Swivelgames commented 1 year ago

Tested using fidian/multishell-small

bash-3 - Runs error-free: **YES** - Test Failures: _**YES**_ Assoc test fails simply due to `declare -A` is test file. But `mo` runs without errors. ``` # run-script-againt-shells bash-3 ./run-tests ``` ``` bash-3.1.23: FAIL ... tests/assoc-array-list ... FAIL (status code 1) ... tests/function-args ... FAIL (status code 1) # EXISTING TEST ... Pass: 27 Fail: 2 ``` ``` bash-3.2.57: FAIL ... tests/assoc-array-list ... FAIL (status code 1) ... Pass: 28 Fail: 1 ```
bash-4 - Runs error-free: **YES** - Test Failures: _**NO**_ Different versions output assoc arrays in different order ``` bash-4.0.44: pass bash-4.1.17: pass bash-4.2.53: pass bash-4.3.48: pass bash-4.4.23: pass ```
bash-5 - Runs error-free: **YES** - Test Failures: _**NO**_ Different versions output assoc arrays in different order ``` bash-5.0.18: pass bash-5.1.8: pass ```