summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2019-05-25 18:46:25 -0600
committermo <mo.khan@gmail.com>2019-05-25 18:46:25 -0600
commit6e26603570b4034ecdf3c52bbcc343c6d81bfd9a (patch)
tree100e1a3452a6548f0ba59b2fc7ef5b55cdd98c46 /test
parent859a8a20d006e82cc9d2fa7f2d6af36169f345c3 (diff)
get tests passing
Diffstat (limited to 'test')
-rw-r--r--test/problem-6.bats6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/problem-6.bats b/test/problem-6.bats
index 6340545..9246bca 100644
--- a/test/problem-6.bats
+++ b/test/problem-6.bats
@@ -10,13 +10,11 @@ load test_helper
@test "invoke with a single integer" {
run problem-6.sh 2
- assert_success
- #assert_equal "squares: 4\nsum: 2\n", $output
+ assert_success $'squares: 4\nsum: 2'
}
@test "invoke with multiple integers" {
run problem-6.sh 1 2 3 4 5 6 7 8 9 10
- assert_success
- #assert_equal "squares: 1 4 9 16 25 36 49 64 81 100\nsum: 55\n", $output
+ assert_success $'squares: 1 4 9 16 25 36 49 64 81 100\nsum: 55'
}