mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 08:50:01 -06:00
Fix a few issues:
- pass in the timestamp to the error that reports timestamp parsing issues - fix a failing BATS test
This commit is contained in:
@@ -470,7 +470,7 @@ func getCommitInfo(queryist cli.Queryist, sqlCtx *sql.Context, ref string) (*com
|
||||
email := row[2].(string)
|
||||
timestamp, err := getTimestampColAsUint64(row[3])
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error parsing timestamp '%s': %v", err)
|
||||
return nil, fmt.Errorf("error parsing timestamp '%s': %v", row[3], err)
|
||||
}
|
||||
message := row[4].(string)
|
||||
parent := row[5].(string)
|
||||
|
||||
@@ -41,8 +41,8 @@ SQL
|
||||
run dolt diff
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "${lines[0]}" =~ "diff --dolt a/test b/quiz" ]] || false
|
||||
[[ "${lines[1]}" =~ "--- a/test @" ]] || false
|
||||
[[ "${lines[2]}" =~ "+++ b/quiz @" ]] || false
|
||||
[[ "${lines[1]}" =~ "--- a/test" ]] || false
|
||||
[[ "${lines[2]}" =~ "+++ b/quiz" ]] || false
|
||||
}
|
||||
|
||||
@test "rename-tables: sql diff a renamed table" {
|
||||
|
||||
Reference in New Issue
Block a user