···2626 width := TerminalWidth()
27272828 var sb strings.Builder
2929- sb.WriteString(strings.Repeat("─", width+2) + "\n")
3030- // TODO: "New Snapshot" should be above this line, in default color.
3131- // - color should be on test name and path
3232- sb.WriteString(fmt.Sprintf(" %s \n", Blue("New Snapshot -- \""+snap.Name+"\"")))
2929+ sb.WriteString("─── " + "New Snapshot " + strings.Repeat("─", width-15) + "\n\n")
3030+ sb.WriteString(fmt.Sprintf(" test: %s\n", Blue("\""+snap.Name+"\"")))
3131+ sb.WriteString(fmt.Sprintf(" snapshot: %s\n\n", Gray(files.SnapshotFileName(snap.Name))))
33323433 lines := strings.Split(snap.Content, "\n")
3534 numLines := len(lines)
···5958// TODO: needs to get overhauled with styling like above
6059// - should show line numbers, line numbers with diffs should be the same
6160// - should show test name and path in the header section
6161+// TODO: additional styling
6262+// show helper text to say + is new results, - is old snapshot
6263func DiffSnapshotBox(old, new *files.Snapshot, diffLines []DiffLine) string {
6364 width := TerminalWidth()
6465