@@ -154,7 +154,7 @@ func TestFillDefault(t *testing.T) {
154154 {Script : ptr .Of ("#!/bin/true # {{.Param.ONE}}" )},
155155 },
156156 Probes : []limatype.Probe {
157- {Script : "#!/bin/false # {{.Param.ONE}}" },
157+ {Script : ptr . Of ( "#!/bin/false # {{.Param.ONE}}" ) },
158158 },
159159 Networks : []limatype.Network {
160160 {Lima : "shared" },
@@ -240,7 +240,7 @@ func TestFillDefault(t *testing.T) {
240240 expect .Probes = slices .Clone (y .Probes )
241241 expect .Probes [0 ].Mode = limatype .ProbeModeReadiness
242242 expect .Probes [0 ].Description = "user probe 1/1"
243- expect .Probes [0 ].Script = "#!/bin/false # Eins"
243+ expect .Probes [0 ].Script = ptr . Of ( "#!/bin/false # Eins" )
244244
245245 expect .Networks = slices .Clone (y .Networks )
246246 expect .Networks [0 ].MACAddress = MACAddress (fmt .Sprintf ("%s#%d" , filePath , 0 ))
@@ -371,7 +371,7 @@ func TestFillDefault(t *testing.T) {
371371 },
372372 Probes : []limatype.Probe {
373373 {
374- Script : "#!/bin/false" ,
374+ Script : ptr . Of ( "#!/bin/false" ) ,
375375 Mode : limatype .ProbeModeReadiness ,
376376 Description : "User Probe" ,
377377 },
@@ -580,7 +580,7 @@ func TestFillDefault(t *testing.T) {
580580 },
581581 Probes : []limatype.Probe {
582582 {
583- Script : "#!/bin/false" ,
583+ Script : ptr . Of ( "#!/bin/false" ) ,
584584 Mode : limatype .ProbeModeReadiness ,
585585 Description : "Another Probe" ,
586586 },
0 commit comments