@@ -149,7 +149,7 @@ func TestFillDefault(t *testing.T) {
149149
150150	expect  :=  builtin 
151151	expect .HostResolver .Hosts  =  map [string ]string {
152- 		"my.host. " : "host.lima.internal" ,
152+ 		"MY.Host " : "host.lima.internal" ,
153153	}
154154
155155	expect .Mounts  =  y .Mounts 
@@ -319,7 +319,7 @@ func TestFillDefault(t *testing.T) {
319319	expect .Mounts [0 ].NineP .Msize  =  pointer .String (Default9pMsize )
320320	expect .Mounts [0 ].NineP .Cache  =  pointer .String (Default9pCacheForRO )
321321	expect .HostResolver .Hosts  =  map [string ]string {
322- 		"default. " : d .HostResolver .Hosts ["default" ],
322+ 		"default" : d .HostResolver .Hosts ["default" ],
323323	}
324324	expect .MountType  =  pointer .String (REVSSHFS )
325325	expect .CACertificates .RemoveDefaults  =  pointer .Bool (true )
@@ -348,7 +348,7 @@ func TestFillDefault(t *testing.T) {
348348	expect .Mounts  =  append (d .Mounts , y .Mounts ... )
349349	expect .Networks  =  append (d .Networks , y .Networks ... )
350350
351- 	expect .HostResolver .Hosts ["default. " ] =  d .HostResolver .Hosts ["default" ]
351+ 	expect .HostResolver .Hosts ["default" ] =  d .HostResolver .Hosts ["default" ]
352352
353353	// d.DNS will be ignored, and not appended to y.DNS 
354354
@@ -474,8 +474,8 @@ func TestFillDefault(t *testing.T) {
474474	expect .PortForwards  =  append (append (o .PortForwards , y .PortForwards ... ), d .PortForwards ... )
475475	expect .Containerd .Archives  =  append (append (o .Containerd .Archives , y .Containerd .Archives ... ), d .Containerd .Archives ... )
476476
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" ]
479479
480480	// o.Mounts just makes d.Mounts[0] writable because the Location matches 
481481	expect .Mounts  =  append (d .Mounts , y .Mounts ... )
0 commit comments