Skip to content

Commit

Permalink
Update tests to match new output and pass
Browse files Browse the repository at this point in the history
Follow on from PR #24 to bring CI/tests into passing state.
  • Loading branch information
zph committed Sep 21, 2019
1 parent 5261f65 commit 8827537
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions installer/installer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ include something.mk
fmt.Printf("%s\n", s)

// Output:
// github.com
// /tmp/include/github.com
// └── tj
// └── foo
// ├── bar
// ├── foo
// └── foo.mk
//
// 3 directories, 3 files
// 2 directories, 3 files
}

func ExampleInstaller_Install() {
Expand Down Expand Up @@ -102,13 +102,13 @@ func ExampleInstaller_Install() {
fmt.Printf("%s\n", s)

// Output:
// github.com
// /tmp/include/github.com
// └── tj
// └── foo
// ├── bar
// └── foo.mk
//
// 3 directories, 2 files
// 2 directories, 2 files
}

func ExampleInstaller_Install_many() {
Expand Down Expand Up @@ -141,20 +141,20 @@ func ExampleInstaller_Install_many() {
fmt.Printf("%s\n", s)

// Output:
// github.com
// /tmp/include/github.com
// └── tj
// └── foo
// ├── bar
// ├── deps
// │ ├── bar.mk
// │ ├── baz
// │ └── foo
// │   ├── bar.mk
// │   ├── baz
// │   └── foo
// ├── foo.mk
// └── some
// └── nested
// └── stuff.mk
//
// 6 directories, 6 files
// 5 directories, 6 files
}

type mockResolver struct {
Expand Down

0 comments on commit 8827537

Please sign in to comment.