mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-04 11:30:14 -05:00
string fix
This commit is contained in:
@@ -436,7 +436,7 @@ func printGraphAndCommitsInfo(graph [][]string, pager *outputpager.Pager, apr *a
|
||||
last_commit_row := commits[len(commits)-1].Row
|
||||
printCommitMetadata(graph, pager, last_commit_row, len(graph[last_commit_row]), commits[len(commits)-1], decoration)
|
||||
for _, line := range commits[len(commits)-1].formattedMessage {
|
||||
pager.Writer.Write([]byte(color.WhiteString("\t", line)))
|
||||
pager.Writer.Write([]byte(color.WhiteString("\t%s", line)))
|
||||
pager.Writer.Write([]byte("\n"))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -844,10 +844,11 @@ export NO_COLOR=1
|
||||
[[ "${lines[7]}" =~ "Author:" ]] || false # Author:
|
||||
[[ "${lines[8]}" =~ "Date:" ]] || false # Date:
|
||||
[[ "${lines[9]}" =~ "Initialize data repository" ]] || false # Initialize data repository
|
||||
[[ ! "${lines[9]}" =~ "%!(EXTRA string=" ]] || false
|
||||
|
||||
run dolt log --graph --oneline
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
|
||||
[[ "${lines[0]}" =~ \* ]] || false
|
||||
[[ ! "$output" =~ "Author" ]] || false
|
||||
[[ ! "$output" =~ "Date" ]] || false
|
||||
|
||||
Reference in New Issue
Block a user