From 77682c31420bc2d9c3373302201beca8c3d93bb6 Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Tue, 30 Mar 2021 15:31:42 +0200 Subject: [PATCH] fix junit test --- pkg/output/junit_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/output/junit_test.go b/pkg/output/junit_test.go index 3d8e48f..044e631 100644 --- a/pkg/output/junit_test.go +++ b/pkg/output/junit_test.go @@ -98,6 +98,11 @@ metadata: t.Errorf("Test suite name should be the resource path") } continue + case "id": + if attr.Value != "1" { + t.Errorf("testsuite/@id should be 1") + } + continue case "tests": if attr.Value != "1" { t.Errorf("testsuite/@tests should be 1")