From f992d5acaa22be2b3781c80966becab76120e226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Stemmer?= Date: Fri, 6 Feb 2015 13:43:03 +0100 Subject: [PATCH] Rename names of the first tests To make sure the output order is preserved. --- go-junit-report_test.go | 4 ++-- tests/01-pass.txt | 8 ++++---- tests/01-report.xml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go-junit-report_test.go b/go-junit-report_test.go index 84bd803..a657663 100644 --- a/go-junit-report_test.go +++ b/go-junit-report_test.go @@ -29,13 +29,13 @@ var testCases []TestCase = []TestCase{ Time: 160, Tests: []Test{ { - Name: "TestOne", + Name: "TestZ", Time: 60, Result: PASS, Output: []string{}, }, { - Name: "TestTwo", + Name: "TestA", Time: 100, Result: PASS, Output: []string{}, diff --git a/tests/01-pass.txt b/tests/01-pass.txt index ce39d87..0a4eeae 100644 --- a/tests/01-pass.txt +++ b/tests/01-pass.txt @@ -1,6 +1,6 @@ -=== RUN TestOne ---- PASS: TestOne (0.06 seconds) -=== RUN TestTwo ---- PASS: TestTwo (0.10 seconds) +=== RUN TestZ +--- PASS: TestZ (0.06 seconds) +=== RUN TestA +--- PASS: TestA (0.10 seconds) PASS ok package/name 0.160s diff --git a/tests/01-report.xml b/tests/01-report.xml index f8f1038..46141a9 100644 --- a/tests/01-report.xml +++ b/tests/01-report.xml @@ -4,7 +4,7 @@ - - + +