We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f2b63f commit 874d11fCopy full SHA for 874d11f
assert/doc.go
@@ -7,6 +7,7 @@ add following two lines at the beginning of your unit tests:
7
func TestInvite(t *testing.T) {
8
defer assert.PushTester(t)() // push testing variable t beginning of any test
9
10
+ // v-----v Invite control flow includes assertions
11
alice.Node = root1.Invite(alice.Node, root1.Key, alice.PubKey, 1)
12
assert.Equal(alice.Len(), 1) // assert anything normally
13
0 commit comments