Skip to content

Commit

Permalink
chore: re-order params (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenlu authored Apr 21, 2024
1 parent e5d6dbf commit 8be329c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gormschema/gorm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ func resetSession() {
}
}

func requireEqualContent(t *testing.T, expected, fileName string) {
func requireEqualContent(t *testing.T, actual, fileName string) {
buf, err := os.ReadFile(fileName)
require.NoError(t, err)
require.Equal(t, expected, string(buf))
require.Equal(t, string(buf), actual)
}

0 comments on commit 8be329c

Please sign in to comment.