• 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
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...