mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
Support matchers on integers in integration tests
This commit is contained in:
@@ -22,7 +22,7 @@ func retryWaitTimes() []int {
|
||||
}
|
||||
}
|
||||
|
||||
func (self *assertionHelper) matchString(matcher *Matcher, context string, getValue func() string) {
|
||||
func (self *assertionHelper) matchString(matcher *TextMatcher, context string, getValue func() string) {
|
||||
self.assertWithRetries(func() (bool, string) {
|
||||
value := getValue()
|
||||
return matcher.context(context).test(value)
|
||||
|
||||
Reference in New Issue
Block a user