Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
haoyang1994 committed Aug 15, 2024
1 parent 6d6b9ed commit f49b71c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions acceptor_session_provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ func (suite *DynamicAcceptorSessionProviderTestSuite) SetupTest() {
)
suite.setUpSettings(templateID2, "RefreshOnLogon", "Y")

templateId3 := SessionID{BeginString: "FIX.4.4", SenderCompID: "ANY", TargetCompID: "ANY"}
templateID3 := SessionID{BeginString: "FIX.4.4", SenderCompID: "ANY", TargetCompID: "ANY"}
templateMappings = append(
templateMappings,
&TemplateMapping{Pattern: SessionID{BeginString: "FIX.4.2", SenderCompID: WildcardPattern, SenderSubID: WildcardPattern, SenderLocationID: WildcardPattern,
TargetCompID: WildcardPattern, TargetSubID: WildcardPattern, TargetLocationID: WildcardPattern, Qualifier: WildcardPattern,
}, TemplateID: templateId3},
}, TemplateID: templateID3},
)
suite.setUpSettings(templateId3, "ResetOnDisconnect", "Y")
suite.setUpSettings(templateID3, "ResetOnDisconnect", "Y")

templateIDProvider := &DefaultTemplateIDProvider{
templateMappings: templateMappings,
Expand Down

0 comments on commit f49b71c

Please sign in to comment.