Can you help me diagnose why I can't lint against use of Times(1)? The following pattern should work?
forbidigo:
forbid:
- pattern: Times\(1\)
msg: "No need to specify Times(1) for a single call."
mockMarketDataService.EXPECT().GetLatestPrice(
matchers.Ctx,
enums.ChainNetworkSol,
solana_go.WrappedSol.String(),
enums.QuoteTokenNative,
).Return(solPrice, nil).Times(1)
Can you help me diagnose why I can't lint against use of
Times(1)? The following pattern should work?