Skip to content

Commit 0969ee2

Browse files
committed
Minor rename
1 parent 21edf44 commit 0969ee2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

data/basics/fields_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func makeTypeCheckFunction(t *testing.T, exceptions []typePath, startType reflec
138138
func TestBlockFields(t *testing.T) {
139139
partitiontest.PartitionTest(t)
140140

141-
blockType := reflect.TypeOf(bookkeeping.Block{})
141+
typeToCheck := reflect.TypeOf(bookkeeping.Block{})
142142

143143
// These exceptions are for pre-existing usages of string. Only add to this list if you really need to use string.
144144
exceptions := []typePath{
@@ -160,13 +160,13 @@ func TestBlockFields(t *testing.T) {
160160

161161
seen := make(map[reflect.Type]bool)
162162

163-
checkReferencedTypes(seen, nil, []reflect.Type{blockType}, makeTypeCheckFunction(t, exceptions, blockType))
163+
checkReferencedTypes(seen, nil, []reflect.Type{typeToCheck}, makeTypeCheckFunction(t, exceptions, typeToCheck))
164164
}
165165

166166
func TestAccountDataFields(t *testing.T) {
167167
partitiontest.PartitionTest(t)
168168

169-
blockType := reflect.TypeOf(basics.AccountData{})
169+
typeToCheck := reflect.TypeOf(basics.AccountData{})
170170

171171
// These exceptions are for pre-existing usages of string. Only add to this list if you really need to use string.
172172
exceptions := []typePath{
@@ -181,5 +181,5 @@ func TestAccountDataFields(t *testing.T) {
181181

182182
seen := make(map[reflect.Type]bool)
183183

184-
checkReferencedTypes(seen, nil, []reflect.Type{blockType}, makeTypeCheckFunction(t, exceptions, blockType))
184+
checkReferencedTypes(seen, nil, []reflect.Type{typeToCheck}, makeTypeCheckFunction(t, exceptions, typeToCheck))
185185
}

0 commit comments

Comments
 (0)