mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02:00
rename function
This commit is contained in:
@@ -26,7 +26,7 @@ func (self *FileSystem) PathNotPresent(path string) {
|
||||
}
|
||||
|
||||
// Asserts that the file at the given path has the given content
|
||||
func (self *FileSystem) FileContainsContent(path string, matcher *matcher) {
|
||||
func (self *FileSystem) FileContent(path string, matcher *matcher) {
|
||||
self.assertWithRetries(func() (bool, string) {
|
||||
_, err := os.Stat(path)
|
||||
if os.IsNotExist(err) {
|
||||
|
||||
Reference in New Issue
Block a user