[functional-tests/cache] remove deliberately failing test + whitespace

This commit is contained in:
Joe Thornber 2017-08-29 13:23:27 +01:00
parent 88b0c2ebae
commit 761c655035

View File

@ -52,7 +52,7 @@
;;;----------------------------------------------------------- ;;;-----------------------------------------------------------
(define-scenario (cache-check v) (define-scenario (cache-check v)
"cache_check -V" "cache_check -V"
(receive (stdout _) (cache-check "-V") (receive (stdout _) (cache-check "-V")
(assert-equal tools-version stdout))) (assert-equal tools-version stdout)))
@ -74,8 +74,8 @@
(define-scenario (cache-check must-specify-metadata) (define-scenario (cache-check must-specify-metadata)
"Metadata file must be specified" "Metadata file must be specified"
(receive (_ stderr) (run-fail "cache_check") (receive (_ stderr) (run-fail "cache_check")
(assert-equal (assert-equal
(string-append "No input file provided.\n" (string-append "No input file provided.\n"
cache-check-help) cache-check-help)
stderr))) stderr)))
@ -126,10 +126,6 @@
(with-valid-metadata (md) (with-valid-metadata (md)
(cache-check md))) (cache-check md)))
(define-scenario (cache-check deliberately-fail)
"remove me"
(fail (dsp "bad bad bad")))
(define-scenario (cache-check bad-metadata-version) (define-scenario (cache-check bad-metadata-version)
"Invalid metadata version fails" "Invalid metadata version fails"
(with-cache-xml (xml) (with-cache-xml (xml)