aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/test.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/stdlib/test.ts b/stdlib/test.ts
index a592d87..86ed6a9 100644
--- a/stdlib/test.ts
+++ b/stdlib/test.ts
@@ -15,15 +15,12 @@ export interface ShowAssertionError<_L extends unknown, _R extends unknown> exte
export type AssertEquals<Left, Right> = Try<
Assert<Equals<Left, Right>>,
- <e extends string>() => Do<[
+ <m>() => Do<[
ShowAssertionError<Left, Right>,
- Throw<e>,
+ Throw<m>,
]>
>
export interface AssertEqualsK<Right extends unknown> extends Kind1 {
return: AssertEquals<this['input'], Right>
}
-
-// TODO: export interface AssertFails?
-