mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Rename String(*token.Map) to Str(*token.Map)
This commit is contained in:
1 parent
638d8eee77
commit
7601fb45ce
15 files changed
+219
-219
No files matched your search
@@ -123,15 +123,15 @@ func TestCheck(t *testing.T) {
|
||||
break
|
||||
}
|
||||
|
||||
if got, want := fooBar.QID.String(tm), "foo.bar"; got != want {
|
||||
if got, want := fooBar.QID.Str(tm), "foo.bar"; got != want {
|
||||
t.Fatalf("Funcs[0] name: got %q, want %q", got, want)
|
||||
}
|
||||
|
||||
got := [][2]string(nil)
|
||||
for id, typ := range fooBar.LocalVars {
|
||||
got = append(got, [2]string{
|
||||
id.String(tm),
|
||||
typ.String(tm),
|
||||
id.Str(tm),
|
||||
typ.Str(tm),
|
||||
})
|
||||
}
|
||||
sort.Slice(got, func(i, j int) bool {
|
||||
|
||||
Reference in new issue
Block a user