Update broken jUnit reporter tests
A previous commit broke these tests, but as they were not run by the CI
nobody picked up on them being broken.
@@ -20,13 +20,9 @@ func TestMarksTestBeginning(t *testing.T) {
name: "numeric",
testLine: "=== RUN 1234",
},
- {
- name: "url",
- testLine: "=== RUN github.com/maintainer/repository/package/file",
- },
{
name: "failed print",
- testLine: "some other text=== RUN github.com/maintainer/repository/package/file",
+ testLine: "some other text=== RUN TestName",
},
}
@@ -54,11 +50,6 @@ func TestExtractTestName(t *testing.T) {
testLine: "=== RUN 1234",
expectedName: "1234",
},
- {
- name: "url",
- testLine: "=== RUN github.com/maintainer/repository/package/file",
- expectedName: "github.com/maintainer/repository/package/file",
- },
{
name: "basic end",
testLine: "--- PASS: Test (0.10 seconds)",
