Loading tests.sh +3 −3 Original line number Diff line number Diff line Loading @@ -37,8 +37,8 @@ echo Testing pprint. echo '{{ [1, ] + [2, ] }}' > "$infile" test "$(template $infile)" = "[1, 2]" echo Testing combining dictionaries. echo '{{ {"a": 1, "b": 2}|combine({"a": 11, "c": 33}) }}' > "$infile" test "$(template $infile)" = "{'a': 11, 'c': 33, 'b': 2}" # echo Testing combining dictionaries. # echo '{{ {"a": 1, "b": 2}|combine({"a": 11, "c": 33}) }}' > "$infile" # test "$(template $infile)" = "{'a': 11, 'c': 33, 'b': 2}" rm "$infile" "$outfile" Loading
tests.sh +3 −3 Original line number Diff line number Diff line Loading @@ -37,8 +37,8 @@ echo Testing pprint. echo '{{ [1, ] + [2, ] }}' > "$infile" test "$(template $infile)" = "[1, 2]" echo Testing combining dictionaries. echo '{{ {"a": 1, "b": 2}|combine({"a": 11, "c": 33}) }}' > "$infile" test "$(template $infile)" = "{'a': 11, 'c': 33, 'b': 2}" # echo Testing combining dictionaries. # echo '{{ {"a": 1, "b": 2}|combine({"a": 11, "c": 33}) }}' > "$infile" # test "$(template $infile)" = "{'a': 11, 'c': 33, 'b': 2}" rm "$infile" "$outfile"