Skip to content

Commit

Permalink
Fix for FakeLoader to add new Root() method in Loader interface
Browse files Browse the repository at this point in the history
  • Loading branch information
seans3 committed Feb 26, 2018
1 parent f0b42c4 commit dcc5603
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fake_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ type FakeLoader struct {
Content string
}

func (f FakeLoader) Root() string {
return "/fake/root"
}

func (f FakeLoader) New(root string) (Loader, error) {
return f, nil
}
Expand Down

0 comments on commit dcc5603

Please sign in to comment.