Skip to content

Commit

Permalink
chore: re-order params
Browse files Browse the repository at this point in the history
  • Loading branch information
luantranminh committed Apr 20, 2024
1 parent e5d6dbf commit 5ac9842
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 5ac9842

Please sign in to comment.