Skip to content
Browse files

use assert(Not)Captured in tests

  • Loading branch information...
1 parent d1304b5 commit 2e14405658aa53951294359499ed39a32851eafd @ryanbrainard ryanbrainard committed
Showing with 5 additions and 5 deletions.
  1. +4 −4 test/compile_test.sh
  2. +1 −1 test/release_test.sh
View
8 test/compile_test.sh
@@ -15,9 +15,9 @@ EOF
compile
assertCapturedSuccess
- assertFileContains "Installing gradle-1.0-milestone-5" "${STD_OUT}"
- assertFileContains "${expected_stage_output}" "${STD_OUT}"
- assertFileContains "BUILD SUCCESSFUL" "${STD_OUT}"
+ assertCaptured "Installing gradle-1.0-milestone-5"
+ assertCaptured "${expected_stage_output}"
+ assertCaptured "BUILD SUCCESSFUL"
}
@@ -54,5 +54,5 @@ EOF`
compile
assertCapturedSuccess
- assertFileContains "${expected_gradlew_output}" "${STD_OUT}"
+ assertCaptured "${expected_gradlew_output}"
}
View
2 test/release_test.sh
@@ -14,5 +14,5 @@ EOF`
release
- assertEquals "${expected_release_output}" "`cat ${STD_OUT}`"
+ assertCaptured "${expected_release_output}"
}

0 comments on commit 2e14405

Please sign in to comment.
Something went wrong with that request. Please try again.