(t *testing.T)
| 67 | } |
| 68 | |
| 69 | func TestGenerate(t *testing.T) { |
| 70 | t.Parallel() |
| 71 | // Confirms that nobody forgot to regenate data.go. |
| 72 | htmlRaw, err := loadGoroutines() |
| 73 | if err != nil { |
| 74 | t.Fatal(err) |
| 75 | } |
| 76 | if string(htmlRaw) != indexHTML { |
| 77 | t.Fatal("please run go generate") |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | // TestGetSrcBranchURL also tests pkgURL and srcURL and symbol. |
| 82 | func TestGetSrcBranchURL(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…