This exposes the ability to add markers to the public interface, and changes the way markers are collected to make it so a standard call to Expect can replicate the internal behaviour. This allows custom rules to also add marks. Also add a special EOF identifier that acts like a mark at the end of the file in which it occurs. Change-Id: Ic5e41cbc5b7ae3c4d1c5b8baba980147c1d22ef1 Reviewed-on: https://go-review.googlesource.com/c/149610 Run-TryBot: Ian Cottrell <iancottrell@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
test.go |