(t *testing.T)
| 90 | } |
| 91 | |
| 92 | func TestLocalDir(t *testing.T) { |
| 93 | path, err := mockPath() |
| 94 | if err != nil { |
| 95 | t.Fatal(err) |
| 96 | } |
| 97 | |
| 98 | zip, err := filepath.Abs(filepath.Join(TestData, "write-good")) |
| 99 | if err != nil { |
| 100 | t.Fatal(err) |
| 101 | } |
| 102 | |
| 103 | err = readPkg(zip, path, 0) |
| 104 | if err != nil { |
| 105 | t.Fatal(err) |
| 106 | } |
| 107 | |
| 108 | if !system.IsDir(filepath.Join(path, "write-good")) { |
| 109 | t.Fatal("unable to find 'write-good' in StylesPath") |
| 110 | } |
| 111 | |
| 112 | if !system.FileExists(filepath.Join(path, "write-good", "E-Prime.yml")) { |
| 113 | t.Fatal("unable to find 'E-Prime' in StylesPath") |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | func TestLocalComplete(t *testing.T) { //nolint:dupl |
| 118 | path, err := mockPath() |
nothing calls this directly
no test coverage detected
searching dependent graphs…