(t *testing.T)
| 853 | } |
| 854 | |
| 855 | func TestAlternatesWithBoundOS(t *testing.T) { |
| 856 | // Create a new dotgit object with a specific FS for alternates. |
| 857 | altFS := osfs.New(t.TempDir(), osfs.WithBoundOS()) |
| 858 | dotFS, _ := altFS.Chroot("repo2") |
| 859 | |
| 860 | testAlternates(t, dotFS, altFS) |
| 861 | } |
| 862 | |
| 863 | func testAlternates(t *testing.T, dotFS, altFS billy.Filesystem) { |
| 864 | tests := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…