String constants for the remaining untranslated test-engine messages
This commit is contained in:
parent
8590e8cadf
commit
5f443141f1
|
@ -231,12 +231,12 @@
|
|||
[(message-error? fail)
|
||||
(for-each print-formatted (message-error-strings fail))]
|
||||
[(not-mem? fail)
|
||||
(print "Tatsächlicher Wert ~F ist keins der Elemente "
|
||||
(print (string-constant test-engine-not-mem-error)
|
||||
(formatter (not-mem-test fail)))
|
||||
(for-each (lambda (a) (print " ~F" (formatter a))) (not-mem-set fail))
|
||||
(print ".")]
|
||||
[(not-range? fail)
|
||||
(print "Tatsächlicher Wert ~F liegt nicht zwischen ~F und ~F (inklusive)."
|
||||
(print (string-constant test-engine-not-range-error)
|
||||
(formatter (not-range-test fail))
|
||||
(formatter (not-range-min fail))
|
||||
(formatter (not-range-max fail)))]
|
||||
|
|
|
@ -1429,6 +1429,9 @@ please adhere to these guidelines:
|
|||
"check-error encountered the following error instead of the expected ~a~n :: ~a")
|
||||
(test-engine-expected-error-error
|
||||
"check-error expected the following error, but instead received the value ~F.~n ~a")
|
||||
;; members are appended to the message
|
||||
(test-engine-not-mem-error "Actual value ~F differs from all given members in ")
|
||||
(test-engine-not-range-error "Actual value ~F is not between ~F and ~F, inclusive.")
|
||||
|
||||
; section header
|
||||
(test-engine-check-failures "Check failures:")
|
||||
|
|
|
@ -1331,6 +1331,8 @@
|
|||
"check-error bekam den folgenden Fehler anstatt des erwarteten ~a~n :: ~a")
|
||||
(test-engine-expected-error-error
|
||||
"check-error erwartete den folgenden Fehler, bekam aber den Wert ~F.~n ~a")
|
||||
(test-engine-not-mem-error "Tatsächlicher Wert ~F ist keins der Elemente ")
|
||||
(test-engine-not-range-error "Tatsächlicher Wert ~F liegt nicht zwischen ~F und ~F (inklusive).")
|
||||
|
||||
; section header
|
||||
(test-engine-check-failures "Check-Fehler:")
|
||||
|
|
|
@ -258,12 +258,12 @@
|
|||
[(message-error? fail)
|
||||
(for-each print-formatted (message-error-strings fail))]
|
||||
[(not-mem? fail)
|
||||
(print "Actual value ~F differs from all given members in "
|
||||
(print (string-constant test-engine-not-mem-error)
|
||||
(formatter (not-mem-test fail)))
|
||||
(for-each (lambda (a) (print " ~F" (formatter a))) (not-mem-set fail))
|
||||
(print ".")]
|
||||
[(not-range? fail)
|
||||
(print "Actual value ~F is not between ~F and ~F, inclusive."
|
||||
(print (string-constant test-engine-not-range-error)
|
||||
(formatter (not-range-test fail))
|
||||
(formatter (not-range-min fail))
|
||||
(formatter (not-range-max fail)))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user