fix test build breakage with go1.11 (#712)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
As discussed in golang/go#26109, vet typecheck is enabled in go1.11 and the command_test.go can't be compiled any more with go1.11 due to the unread variables in the command_test.go. Instead of removing the unused variables, this CL reads the variables and compares the values against the current behavior so when the related issue is fixed, this test can be updated accordingly.
authored by Hyang-Ah Hana Kim · committed by Eric Paris · parent 1e58aa3 · Browse files · 1 file+14 added−12 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+14 added−12 removed
- other:+14 added−12 removed