(t *testing.T)
| 828 | } |
| 829 | |
| 830 | func TestAlternatesWithBoundOS(t *testing.T) { |
| 831 | // Create a new dotgit object with a specific FS for alternates. |
| 832 | altFS := osfs.New(t.TempDir(), osfs.WithBoundOS()) |
| 833 | dotFS, _ := altFS.Chroot("repo2") |
| 834 | |
| 835 | testAlternates(t, dotFS, altFS) |
| 836 | } |
| 837 | |
| 838 | func testAlternates(t *testing.T, dotFS, altFS billy.Filesystem) { |
| 839 | tests := []struct { |
nothing calls this directly
no test coverage detected