(t *testing.T, path1, path2, description string)
| 116 | } |
| 117 | |
| 118 | func testPathsAreSameFile(t *testing.T, path1, path2, description string) { |
| 119 | fi1, err := os.Stat(path1) |
| 120 | require.NoError(t, err) |
| 121 | fi2, err := os.Stat(path2) |
| 122 | require.NoError(t, err) |
| 123 | assert.True(t, os.SameFile(fi1, fi2), description) |
| 124 | } |
| 125 | |
| 126 | func runPathResolvingTestCase(t *testing.T, f func(string) (string, error), c pathResolvingTestCase, suffix string) { |
| 127 | topDir := t.TempDir() |
no outgoing calls
no test coverage detected
searching dependent graphs…