-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc.go
More file actions
14 lines (12 loc) · 585 Bytes
/
doc.go
File metadata and controls
14 lines (12 loc) · 585 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
Package assert provides a set of assertion functions.
Every assertion function returns a boolean.
This package does not integrateinto the testing package automatically.
If you want to use this package inside unit tests, you have to check the returning boolean
value and call `t.Fatal()` if the assertion fails.
This library does not provide any error messages.
That way the assertions can also be used in production code.
If you want a full-featured testing framework, we recommend https://github.com/MarvinJWendt/testza
(which uses this library for assertions)
*/
package assert