@@ -40,11 +40,11 @@ func (o *tapo) Write(res validator.Result) error {
40
40
switch res .Status {
41
41
case validator .Valid :
42
42
sig , _ := res .Resource .Signature ()
43
- fmt .Fprintf (o .w , "ok %d - %s (%s)\n " , o .index , res .Resource .Path , sig .Kind )
43
+ fmt .Fprintf (o .w , "ok %d - %s (%s)\n " , o .index , res .Resource .Path , sig .QualifiedName () )
44
44
45
45
case validator .Invalid :
46
46
sig , _ := res .Resource .Signature ()
47
- fmt .Fprintf (o .w , "not ok %d - %s (%s): %s\n " , o .index , res .Resource .Path , sig .Kind , res .Err .Error ())
47
+ fmt .Fprintf (o .w , "not ok %d - %s (%s): %s\n " , o .index , res .Resource .Path , sig .QualifiedName () , res .Err .Error ())
48
48
49
49
case validator .Empty :
50
50
fmt .Fprintf (o .w , "ok %d - %s (empty)\n " , o .index , res .Resource .Path )
@@ -53,7 +53,8 @@ func (o *tapo) Write(res validator.Result) error {
53
53
fmt .Fprintf (o .w , "not ok %d - %s: %s\n " , o .index , res .Resource .Path , res .Err .Error ())
54
54
55
55
case validator .Skipped :
56
- fmt .Fprintf (o .w , "ok %d #skip - %s\n " , o .index , res .Resource .Path )
56
+ sig , _ := res .Resource .Signature ()
57
+ fmt .Fprintf (o .w , "ok %d - %s (%s) # skip\n " , o .index , res .Resource .Path , sig .QualifiedName ())
57
58
}
58
59
59
60
return nil
0 commit comments