From 1d257919f9944ed2882d89f610c0b9b0d6e21fe7 Mon Sep 17 00:00:00 2001 From: Chris McKenzie Date: Fri, 22 May 2020 14:01:06 -0700 Subject: [PATCH] adding a space test --- tests/0050.spaces.test.sh | 16 ++++++++++++++++ tests/expected/0050.spaces.test.sh | 3 +++ 2 files changed, 19 insertions(+) create mode 100755 tests/0050.spaces.test.sh create mode 100644 tests/expected/0050.spaces.test.sh diff --git a/tests/0050.spaces.test.sh b/tests/0050.spaces.test.sh new file mode 100755 index 0000000..ba2d296 --- /dev/null +++ b/tests/0050.spaces.test.sh @@ -0,0 +1,16 @@ +#!/bin/bash +. ../ticktick.sh + +`` + people = { + "H R" : [ + "Al ice", + "Bo b", + "Ca rol" + ] + } +`` + +for employee in ``people["H R"].items()``; do + printf " - %s\n" "${!employee}" +done diff --git a/tests/expected/0050.spaces.test.sh b/tests/expected/0050.spaces.test.sh new file mode 100644 index 0000000..bde0875 --- /dev/null +++ b/tests/expected/0050.spaces.test.sh @@ -0,0 +1,3 @@ + - Al ice + - Bo b + - Ca rol