• Brady Catherman's avatar
    testing: implement 'Unordered Output' in Examples. · 9323de3d
    Brady Catherman authored
    Adds a type of output to Examples that allows tests to have unordered
    output. This is intended to help clarify when the output of a command
    will produce a fixed return, but that return might not be in an constant
    order.
    
    Examples where this is useful would be documenting the rand.Perm()
    call, or perhaps the (os.File).Readdir(), both of which can not guarantee
    order, but can guarantee the elements of the output.
    
    Fixes #10149
    
    Change-Id: Iaf0cf1580b686afebd79718ed67ea744f5ed9fc5
    Reviewed-on: https://go-review.googlesource.com/19280Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
    9323de3d
Name
Last commit
Last update
..
testdata Loading commit data...
alldocs.go Loading commit data...
bootstrap.go Loading commit data...
build.go Loading commit data...
clean.go Loading commit data...
context.go Loading commit data...
discovery.go Loading commit data...
doc.go Loading commit data...
env.go Loading commit data...
fix.go Loading commit data...
fmt.go Loading commit data...
generate.go Loading commit data...
generate_test.go Loading commit data...
get.go Loading commit data...
go11.go Loading commit data...
go_test.go Loading commit data...
go_unix_test.go Loading commit data...
go_windows_test.go Loading commit data...
help.go Loading commit data...
http.go Loading commit data...
list.go Loading commit data...
main.go Loading commit data...
match_test.go Loading commit data...
mkalldocs.sh Loading commit data...
note.go Loading commit data...
note_test.go Loading commit data...
pkg.go Loading commit data...
pkg_test.go Loading commit data...
run.go Loading commit data...
signal.go Loading commit data...
signal_notunix.go Loading commit data...
signal_unix.go Loading commit data...
tag_test.go Loading commit data...
test.go Loading commit data...
testflag.go Loading commit data...
testgo.go Loading commit data...
tool.go Loading commit data...
vcs.go Loading commit data...
vcs_test.go Loading commit data...
vendor_test.go Loading commit data...
version.go Loading commit data...
vet.go Loading commit data...