Update go dependencies (#4524)
This commit is contained in:
parent
2ba1a9e71a
commit
341d64b652
412 changed files with 43034 additions and 34165 deletions
4
vendor/github.com/onsi/gomega/gbytes/say_matcher.go
generated
vendored
4
vendor/github.com/onsi/gomega/gbytes/say_matcher.go
generated
vendored
|
|
@ -1,3 +1,5 @@
|
|||
// untested sections: 1
|
||||
|
||||
package gbytes
|
||||
|
||||
import (
|
||||
|
|
@ -19,7 +21,7 @@ Say is a Gomega matcher that operates on gbytes.Buffers:
|
|||
|
||||
will succeed if the unread portion of the buffer matches the regular expression "something".
|
||||
|
||||
When Say succeeds, it fast forwards the gbytes.Buffer's read cursor to just after the succesful match.
|
||||
When Say succeeds, it fast forwards the gbytes.Buffer's read cursor to just after the successful match.
|
||||
Thus, subsequent calls to Say will only match against the unread portion of the buffer
|
||||
|
||||
Say pairs very well with Eventually. To assert that a buffer eventually receives data matching "[123]-star" within 3 seconds you can:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue