Be consistent wrt m.ByID(id) and id.String(m).

This commit is contained in:
Nigel Tao committed 2017-05-28 14:06:24 +10:00
1 parent 99ff8e2487
commit 491985b34f
4 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ func TestCheck(t *testing.T) {
got := [][2]string(nil)
for id, typ := range fooBar.LocalVars {
got = append(got, [2]string{
idMap.ByID(id),
id.String(idMap),
typ.String(idMap),
})
}