Rename names of the first tests

To make sure the output order is preserved.
This commit is contained in:
Joël Stemmer 2015-02-06 13:43:03 +01:00
parent 8176458231
commit f992d5acaa
3 changed files with 8 additions and 8 deletions

View File

@ -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{},

View File

@ -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

View File

@ -4,7 +4,7 @@
<properties>
<property name="go.version" value="1.0"></property>
</properties>
<testcase classname="name" name="TestOne" time="0.060"></testcase>
<testcase classname="name" name="TestTwo" time="0.100"></testcase>
<testcase classname="name" name="TestZ" time="0.060"></testcase>
<testcase classname="name" name="TestA" time="0.100"></testcase>
</testsuite>
</testsuites>