Skip to content

Commit

Permalink
fix diff test
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Oct 31, 2023
1 parent 83272d1 commit a5957dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
exclude: ^vendor/
exclude_types: [json,yaml]
- id: trailing-whitespace
exclude: ^vendor/
exclude: ^(vendor/|internal/assert/assertions_test.go)
exclude_types: [json,yaml]

- repo: https://github.com/executablebooks/mdformat
Expand Down
1 change: 1 addition & 0 deletions internal/assert/assertions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,7 @@ Diff:
@@ -1,2 +1,2 @@
-(time.Time) 2020-09-24 00:00:00 +0000 UTC
+(time.Time) 2020-09-25 00:00:00 +0000 UTC
`

actual = diff(
Expand Down

0 comments on commit a5957dd

Please sign in to comment.