@@ -149,7 +149,7 @@ func TestFillDefault(t *testing.T) {
149
149
150
150
expect := builtin
151
151
expect .HostResolver .Hosts = map [string ]string {
152
- "my.host. " : "host.lima.internal" ,
152
+ "MY.Host " : "host.lima.internal" ,
153
153
}
154
154
155
155
expect .Mounts = y .Mounts
@@ -319,7 +319,7 @@ func TestFillDefault(t *testing.T) {
319
319
expect .Mounts [0 ].NineP .Msize = pointer .String (Default9pMsize )
320
320
expect .Mounts [0 ].NineP .Cache = pointer .String (Default9pCacheForRO )
321
321
expect .HostResolver .Hosts = map [string ]string {
322
- "default. " : d .HostResolver .Hosts ["default" ],
322
+ "default" : d .HostResolver .Hosts ["default" ],
323
323
}
324
324
expect .MountType = pointer .String (REVSSHFS )
325
325
expect .CACertificates .RemoveDefaults = pointer .Bool (true )
@@ -348,7 +348,7 @@ func TestFillDefault(t *testing.T) {
348
348
expect .Mounts = append (d .Mounts , y .Mounts ... )
349
349
expect .Networks = append (d .Networks , y .Networks ... )
350
350
351
- expect .HostResolver .Hosts ["default. " ] = d .HostResolver .Hosts ["default" ]
351
+ expect .HostResolver .Hosts ["default" ] = d .HostResolver .Hosts ["default" ]
352
352
353
353
// d.DNS will be ignored, and not appended to y.DNS
354
354
@@ -474,8 +474,8 @@ func TestFillDefault(t *testing.T) {
474
474
expect .PortForwards = append (append (o .PortForwards , y .PortForwards ... ), d .PortForwards ... )
475
475
expect .Containerd .Archives = append (append (o .Containerd .Archives , y .Containerd .Archives ... ), d .Containerd .Archives ... )
476
476
477
- expect .HostResolver .Hosts ["default. " ] = d .HostResolver .Hosts ["default" ]
478
- expect .HostResolver .Hosts ["my.host. " ] = d .HostResolver .Hosts ["host.lima.internal" ]
477
+ expect .HostResolver .Hosts ["default" ] = d .HostResolver .Hosts ["default" ]
478
+ expect .HostResolver .Hosts ["MY.Host " ] = d .HostResolver .Hosts ["host.lima.internal" ]
479
479
480
480
// o.Mounts just makes d.Mounts[0] writable because the Location matches
481
481
expect .Mounts = append (d .Mounts , y .Mounts ... )
0 commit comments