Thibault "bui" Koechlin 3 vuotta sitten
vanhempi
commit
8b0527bf9d
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      pkg/cstest/parser_assert.go

+ 3 - 3
pkg/cstest/parser_assert.go

@@ -367,16 +367,16 @@ func DumpTree(parser_results ParserResults, bucket_pour BucketPourInfo, details
 							switch change.Type {
 							case "create":
 								created++
-								detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s %s : %s\n", presep, sep, change.Type, strings.Join(change.Path, "."), green(change.To))
+								detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s evt.%s : %s\n", presep, sep, change.Type, strings.Join(change.Path, "."), green(change.To))
 							case "update":
-								detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s %s : %s -> %s\n", presep, sep, change.Type, strings.Join(change.Path, "."), change.From, yellow(change.To))
+								detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s evt.%s : %s -> %s\n", presep, sep, change.Type, strings.Join(change.Path, "."), change.From, yellow(change.To))
 								if change.Path[0] == "Whitelisted" && change.To == true {
 									whitelisted = true
 								}
 								updated++
 							case "delete":
 								deleted++
-								detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s %s\n", presep, sep, change.Type, red(strings.Join(change.Path, ".")))
+								detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s evt.%s\n", presep, sep, change.Type, red(strings.Join(change.Path, ".")))
 							}
 						}
 					}