Add newline in query-type/result.
original commit: 9f68c959eef5915269f29abe450d60154a3d4978
This commit is contained in:
parent
f0beca5e3a
commit
d1e1f0240b
|
@ -110,7 +110,7 @@
|
|||
#`(display
|
||||
#,(match cleaned
|
||||
[(Function: '())
|
||||
"Desired return type not in the given function's range."]
|
||||
"Desired return type not in the given function's range.\n"]
|
||||
[(Function: arrs)
|
||||
(format "~a\n" cleaned)])))]
|
||||
[_ (error (format "~a: not a function" (syntax->datum #'op) ))])))]
|
||||
|
|
|
@ -93,6 +93,8 @@
|
|||
|
||||
(test-form (regexp-quote "(case-> (One -> One) (-> One))")
|
||||
(:query-type/result * 1))
|
||||
(test-form #rx"not in the given function's range.\n"
|
||||
(:query-type/result + String))
|
||||
(test-form-exn #rx":query-type/result.*applied to arguments"
|
||||
:query-type/result)
|
||||
(test-form-exn #rx":query-type/result.*only valid at the top-level"
|
||||
|
|
Loading…
Reference in New Issue
Block a user