• Dave Cheney's avatar
    cmd/go: use RawToken to parse remote package metadata · 81a4bbff
    Dave Cheney authored
    CL 14315 broke the tests for parsing loosely formed remote package
    metadata. Switch the parsing to use RawToken to recover the previous
    behaviour that Token provided.
    
    It could be argued that the parser should be stricter, but as remote
    metadata has been readable with the parser for several years, it is
    safer to change the parser to continue to accept the samples provided
    in the test cases.
    
    Change-Id: I2a3ba1757d3cff53b1a1c4386276955bb46cf8cd
    Reviewed-on: https://go-review.googlesource.com/14482Reviewed-by: 's avatarMinux Ma <minux@golang.org>
    Run-TryBot: Minux Ma <minux@golang.org>
    Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    81a4bbff
Name
Last commit
Last update
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...