Skip to content

Commit

Permalink
fix: properly apply test overrides to autocomplete_headers (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion authored Nov 7, 2023
1 parent 23eae29 commit dbfd8a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ func ApplyInputOverrides(overrides *Overrides, input *Input) {
applySimpleOverrides(overrides, input)
applyDestAddrOverride(overrides, input)
applyHeadersOverride(overrides, input)
postProcessAutocompleteHeaders(overrides.AutocompleteHeaders, overrides.StopMagic, input)
if overrides.AutocompleteHeaders != nil || overrides.StopMagic != nil {
postProcessAutocompleteHeaders(overrides.AutocompleteHeaders, overrides.StopMagic, input)
}
}

func applyDestAddrOverride(overrides *Overrides, input *Input) {
Expand Down

0 comments on commit dbfd8a8

Please sign in to comment.