generated from atomicgo/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
267b3e1
commit 4a1422f
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
/* | ||
Package assert provides a set of assertion functions. | ||
Every assertion function returns a boolean. This package does not integrate into 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. | ||
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. | ||
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) | ||
If you want a full-featured testing framework, we recommend https://github.com/MarvinJWendt/testza | ||
(which uses this library for assertions) | ||
*/ | ||
package assert |