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, Time: 160,
Tests: []Test{ Tests: []Test{
{ {
Name: "TestOne", Name: "TestZ",
Time: 60, Time: 60,
Result: PASS, Result: PASS,
Output: []string{}, Output: []string{},
}, },
{ {
Name: "TestTwo", Name: "TestA",
Time: 100, Time: 100,
Result: PASS, Result: PASS,
Output: []string{}, Output: []string{},

View File

@ -1,6 +1,6 @@
=== RUN TestOne === RUN TestZ
--- PASS: TestOne (0.06 seconds) --- PASS: TestZ (0.06 seconds)
=== RUN TestTwo === RUN TestA
--- PASS: TestTwo (0.10 seconds) --- PASS: TestA (0.10 seconds)
PASS PASS
ok package/name 0.160s ok package/name 0.160s

View File

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