Rename String(*token.Map) to Str(*token.Map)

This commit is contained in:
Nigel Tao committed 2017-12-01 11:22:08 +11:00
1 parent 638d8eee77
commit 7601fb45ce
15 files changed
+219 -219

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ func TestString(t *testing.T) {
t.Errorf("ParseExpr(%q): %v", tc, err)
continue
}
got := expr.String(tm)
got := expr.Str(tm)
if got != tc {
t.Errorf("got %q, want %q", got, tc)
continue