From 7fc5f46bbb843c6be95c3f87d19ba21fef25c5b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohnic=CC=81?= Date: Sat, 6 Apr 2013 14:10:44 +0200 Subject: [PATCH] undo `assert_output_lines` in tests It was a dumb idea and it wasn't even implemented perfectly. --- test/completions.bats | 8 +++++--- test/exec.bats | 36 ++++++++++++++++++++---------------- test/hooks.bats | 18 +++++++++++------- test/rehash.bats | 10 ++++++---- test/shell.bats | 8 +++++--- test/test_helper.bash | 24 +++++++----------------- test/whence.bats | 8 +++++--- test/which.bats | 13 ++++++++----- 8 files changed, 67 insertions(+), 58 deletions(-) diff --git a/test/completions.bats b/test/completions.bats index 0f79654d..0feccfa9 100644 --- a/test/completions.bats +++ b/test/completions.bats @@ -38,7 +38,9 @@ else exit 1 fi" run rbenv-completions hello happy world - assert_success "\ - happy - world" + assert_success + assert_output <" { @@ -85,9 +88,10 @@ else fi SH - create_executable "rake" "\ - #!/usr/bin/env ruby - echo hello rake" + create_executable "rake" <