From 6e26603570b4034ecdf3c52bbcc343c6d81bfd9a Mon Sep 17 00:00:00 2001 From: mo Date: Sat, 25 May 2019 18:46:25 -0600 Subject: get tests passing --- test/problem-6.bats | 6 ++---- 1 file 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' } -- cgit v1.2.3