import "cuelang.org/go/internal/cuetest"
Run executes the given command in the given directory and reports any errors comparing it to the gold standard.
type Chunker struct {
// contains filtered or unexported fields
}
A Chunker is used to find segments in text.
NewChunker returns a new chunker.
Bytes returns the segment captured by the last call to Next or Find.
Find searches for key from the current position and sets the current segment to the text from current position up till the key's position. If successful, the position is updated to point directly after the occurrence of key.
Next finds the first occurrence from the current scan position of beg, records the segment from that position until the first occurrence of end and then updates the current position. It reports whether a segment enclosed by beg and end can be found.
Text returns the text segment captured by the last call to Next or Find.
Package cuetest imports 10 packages (graph). Updated 2021-01-26. Refresh now. Tools for package owners.