Skip to content

Commit 8827537

Browse files
committed
Update tests to match new output and pass
Follow on from PR #24 to bring CI/tests into passing state.
1 parent 5261f65 commit 8827537

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

installer/installer_test.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ include something.mk
6464
fmt.Printf("%s\n", s)
6565

6666
// Output:
67-
// github.com
67+
// /tmp/include/github.com
6868
// └── tj
6969
// └── foo
7070
// ├── bar
7171
// ├── foo
7272
// └── foo.mk
7373
//
74-
// 3 directories, 3 files
74+
// 2 directories, 3 files
7575
}
7676

7777
func ExampleInstaller_Install() {
@@ -102,13 +102,13 @@ func ExampleInstaller_Install() {
102102
fmt.Printf("%s\n", s)
103103

104104
// Output:
105-
// github.com
105+
// /tmp/include/github.com
106106
// └── tj
107107
// └── foo
108108
// ├── bar
109109
// └── foo.mk
110110
//
111-
// 3 directories, 2 files
111+
// 2 directories, 2 files
112112
}
113113

114114
func ExampleInstaller_Install_many() {
@@ -141,20 +141,20 @@ func ExampleInstaller_Install_many() {
141141
fmt.Printf("%s\n", s)
142142

143143
// Output:
144-
// github.com
144+
// /tmp/include/github.com
145145
// └── tj
146146
// └── foo
147147
// ├── bar
148148
// ├── deps
149-
// │ ├── bar.mk
150-
// │ ├── baz
151-
// │ └── foo
149+
// │   ├── bar.mk
150+
// │   ├── baz
151+
// │   └── foo
152152
// ├── foo.mk
153153
// └── some
154154
// └── nested
155155
// └── stuff.mk
156156
//
157-
// 6 directories, 6 files
157+
// 5 directories, 6 files
158158
}
159159

160160
type mockResolver struct {

0 commit comments

Comments
 (0)