mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-05 11:21:58 -05:00
Update TypeRef comment and get rid of useless param
The name param of MakeCompoundTypeRef is always the empty string. I didn't change the underlying storage or serialization. Fixes #436, #477
This commit is contained in:
@@ -48,6 +48,6 @@ func TestUserName(t *testing.T) {
|
||||
g := Generator{R: &res}
|
||||
assert.Equal(localStructName, g.UserName(resolved))
|
||||
|
||||
listOfImported := types.MakeCompoundTypeRef("", types.ListKind, types.MakeTypeRef(imported.Ref(), 1))
|
||||
listOfImported := types.MakeCompoundTypeRef(types.ListKind, types.MakeTypeRef(imported.Ref(), 1))
|
||||
assert.Equal(fmt.Sprintf("ListOfS1"), g.UserName(listOfImported))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user