aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-05-30 15:02:55 -0400
committerTeddy Wing2015-05-30 15:02:55 -0400
commit20267504cae2ab5ec910b245e5d6d014a1341ce8 (patch)
treed3c02ec67dc153d7479b69bfdba72c51a9e3aeb6
parentd0261a1d1ee67b905830b8315f8ec247d561c3a7 (diff)
downloadBeginning-Ruby-Exercises-20267504cae2ab5ec910b245e5d6d014a1341ce8.tar.bz2
run_test.sh: Remove unnecessary backslashes
I just assumed you needed backslash line continuation markers when creating arrays in Bash. Turns out I was wrong and they're not needed. Remove them because in addition the the preceding they're also an eyesore.
-rwxr-xr-xrun_test.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/run_test.sh b/run_test.sh
index 9ddba76..a0278d8 100755
--- a/run_test.sh
+++ b/run_test.sh
@@ -1,14 +1,14 @@
#!/bin/sh
-exercises=( \
- /#divide/ \
- /#hello5/ \
- /#hello_x_times/ \
- /#string_plus/ \
- /#join_reverse_array/ \
- /#array_tack_join/ \
- /Table/ \
- /Table2#height_times2/ \
+exercises=(
+ /#divide/
+ /#hello5/
+ /#hello_x_times/
+ /#string_plus/
+ /#join_reverse_array/
+ /#array_tack_join/
+ /Table/
+ /Table2#height_times2/
)
if [ $# -lt 1 ]; then