@@ -15,9 +15,9 @@ func TestCompareImages_Equal_NoChanges(t *testing.T) {
1515 ProtectiveMBR : true ,
1616 Partitions : []PartitionSummary {
1717 {
18- Index : 1 ,
19- Name : "ESP" ,
20- Type : "efi" ,
18+ Index : 1 ,
19+ Name : "ESP" ,
20+ Type : "efi" ,
2121 StartLBA : 2048 ,
2222 EndLBA : 4095 ,
2323 SizeBytes : 1024 ,
@@ -34,8 +34,8 @@ func TestCompareImages_Equal_NoChanges(t *testing.T) {
3434
3535 // Deep copy-ish by constructing again (enough for this test)
3636 b := & ImageSummary {
37- File : "a.raw" ,
38- SizeBytes : 100 ,
37+ File : "a.raw" ,
38+ SizeBytes : 100 ,
3939 PartitionTable : a .PartitionTable ,
4040 }
4141
@@ -111,9 +111,9 @@ func TestCompareImages_PartitionsAddedRemovedModified_ByFSUUIDKey(t *testing.T)
111111 LogicalSectorSize : 512 ,
112112 Partitions : []PartitionSummary {
113113 {
114- Index : 1 ,
115- Name : "ESP" ,
116- Type : "efi" ,
114+ Index : 1 ,
115+ Name : "ESP" ,
116+ Type : "efi" ,
117117 StartLBA : 2048 ,
118118 EndLBA : 4095 ,
119119 SizeBytes : 1024 ,
@@ -124,9 +124,9 @@ func TestCompareImages_PartitionsAddedRemovedModified_ByFSUUIDKey(t *testing.T)
124124 },
125125 },
126126 {
127- Index : 2 ,
128- Name : "root" ,
129- Type : "linux" ,
127+ Index : 2 ,
128+ Name : "root" ,
129+ Type : "linux" ,
130130 StartLBA : 4096 ,
131131 EndLBA : 8191 ,
132132 SizeBytes : 2048 ,
@@ -149,9 +149,9 @@ func TestCompareImages_PartitionsAddedRemovedModified_ByFSUUIDKey(t *testing.T)
149149 LogicalSectorSize : 512 ,
150150 Partitions : []PartitionSummary {
151151 {
152- Index : 1 ,
153- Name : "ESP" ,
154- Type : "efi" ,
152+ Index : 1 ,
153+ Name : "ESP" ,
154+ Type : "efi" ,
155155 StartLBA : 2048 ,
156156 EndLBA : 4095 ,
157157 SizeBytes : 1024 ,
@@ -162,9 +162,9 @@ func TestCompareImages_PartitionsAddedRemovedModified_ByFSUUIDKey(t *testing.T)
162162 },
163163 },
164164 {
165- Index : 3 ,
166- Name : "data" ,
167- Type : "linux" ,
165+ Index : 3 ,
166+ Name : "data" ,
167+ Type : "linux" ,
168168 StartLBA : 9000 ,
169169 EndLBA : 9999 ,
170170 SizeBytes : 4096 ,
@@ -213,9 +213,9 @@ func TestCompareImages_EFIBinaries_ModifiedAndUKIDiff(t *testing.T) {
213213 LogicalSectorSize : 512 ,
214214 Partitions : []PartitionSummary {
215215 {
216- Index : 1 ,
217- Name : "ESP" ,
218- Type : "efi" ,
216+ Index : 1 ,
217+ Name : "ESP" ,
218+ Type : "efi" ,
219219 StartLBA : 2048 ,
220220 EndLBA : 4095 ,
221221 SizeBytes : 1024 ,
@@ -253,11 +253,11 @@ func TestCompareImages_EFIBinaries_ModifiedAndUKIDiff(t *testing.T) {
253253 File : "b.raw" ,
254254 SizeBytes : a .SizeBytes ,
255255 PartitionTable : PartitionTableSummary {
256- Type : a .PartitionTable .Type ,
257- LogicalSectorSize : a .PartitionTable .LogicalSectorSize ,
256+ Type : a .PartitionTable .Type ,
257+ LogicalSectorSize : a .PartitionTable .LogicalSectorSize ,
258258 PhysicalSectorSize : a .PartitionTable .PhysicalSectorSize ,
259- ProtectiveMBR : a .PartitionTable .ProtectiveMBR ,
260- Partitions : make ([]PartitionSummary , len (a .PartitionTable .Partitions )),
259+ ProtectiveMBR : a .PartitionTable .ProtectiveMBR ,
260+ Partitions : make ([]PartitionSummary , len (a .PartitionTable .Partitions )),
261261 },
262262 }
263263
@@ -326,9 +326,9 @@ func TestCompareImages_EFIBinaries_AddedRemoved(t *testing.T) {
326326 LogicalSectorSize : 512 ,
327327 Partitions : []PartitionSummary {
328328 {
329- Index : 1 ,
330- Name : "ESP" ,
331- Type : "efi" ,
329+ Index : 1 ,
330+ Name : "ESP" ,
331+ Type : "efi" ,
332332 Filesystem : & FilesystemSummary {
333333 Type : "vfat" ,
334334 UUID : "UUID-ESP" ,
@@ -348,9 +348,9 @@ func TestCompareImages_EFIBinaries_AddedRemoved(t *testing.T) {
348348 LogicalSectorSize : 512 ,
349349 Partitions : []PartitionSummary {
350350 {
351- Index : 1 ,
352- Name : "ESP" ,
353- Type : "efi" ,
351+ Index : 1 ,
352+ Name : "ESP" ,
353+ Type : "efi" ,
354354 Filesystem : & FilesystemSummary {
355355 Type : "vfat" ,
356356 UUID : "UUID-ESP" ,
0 commit comments