mirror of
https://github.com/tests-always-included/mo.git
synced 2025-11-19 23:34:32 +01:00
Bugfixes, pretty printing, new tests added
Spec result: 108 specs pass, 6 skipped, 67 fail
This commit is contained in:
14
tests/list-contexts
Executable file
14
tests/list-contexts
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
cd "${0%/*}" || exit 1
|
||||
. ../run-tests
|
||||
|
||||
a=foo
|
||||
b=wrong
|
||||
declare -A sec
|
||||
sec=([b]="bar")
|
||||
declare -A c
|
||||
c=([d]="baz")
|
||||
template="{{#sec}}{{a}} {{b}} {{c.d}}{{/sec}}"
|
||||
expected="foo bar baz"
|
||||
|
||||
runTest
|
||||
Reference in New Issue
Block a user