UNPKG
4.5
Version:
latest (0.5.0)
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Monadic test assertions
github.com/TylorS/4.5
TylorS/4.5
4.5
/
lib
/
assert.js
10 lines
•
276 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
function
assert
(
assertion
) {
var
verification = {
success
:
Function
.
prototype
,
failure
:
function
(
message
) {
throw
new
Error
(message); }, }; assertion.
verify
(verification); }
exports
.
assert
= assert;
//# sourceMappingURL=assert.js.map