Merge pull request #1265 from alixander/sketch-ci

add d2sketch in ci
This commit is contained in:
Alexander Wang 2023-04-29 13:31:26 -07:00 committed by GitHub
commit 6cedffaac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1373,5 +1373,6 @@ func run(t *testing.T, tc testCase) {
assert.Success(t, err) assert.Success(t, err)
// We want the visual diffs to compare, but there's floating point precision differences between CI and user machines, so don't compare raw strings // We want the visual diffs to compare, but there's floating point precision differences between CI and user machines, so don't compare raw strings
diff.Testdata(filepath.Join(dataPath, "sketch"), ".svg", svgBytes) err = diff.Testdata(filepath.Join(dataPath, "sketch"), ".svg", svgBytes)
assert.Success(t, err)
} }