Skip to content

Commit

Permalink
Update parser tests.
Browse files Browse the repository at this point in the history
This updates the tests to include some changes from Pull #438.

I believe this confirms that the pull isn't actually needed.
  • Loading branch information
riannucci committed Oct 21, 2021
1 parent cd0f486 commit 4cd840e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions web/server/parser/package_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ var expectedExampleFunctions = contract.PackageResult{

const inputGolang15 = `
=== RUN Golang15
--- PASS: Golang15 (0.00s)
--- PASS: Golang15 (0.01s)
PASS
ok github.com/smartystreets/goconvey/webserver/examples 0.008s
`
Expand All @@ -979,7 +979,7 @@ var expectedGolang15 = contract.PackageResult{
TestResults: []contract.TestResult{
contract.TestResult{
TestName: "Golang15",
Elapsed: 0.00,
Elapsed: 0.01,
Passed: true,
File: "",
Line: 0,
Expand All @@ -997,10 +997,10 @@ const inputGolang17Subtests = `
=== RUN Test/nested/nested_success
=== RUN Test/nested/nested_fail
--- FAIL: Test (0.00s)
--- PASS: Test/success (0.00s)
--- PASS: Test/success (0.01s)
--- FAIL: Test/fail (0.00s)
--- FAIL: Test/nested (0.00s)
--- PASS: Test/nested/nested_success (0.00s)
--- PASS: Test/nested/nested_success (0.02s)
--- FAIL: Test/nested/nested_fail (0.00s)
FAIL
exit status 1
Expand Down Expand Up @@ -1050,7 +1050,7 @@ var expectedGolang17Subtests = contract.PackageResult{
},
contract.TestResult{
TestName: "Test/nested/nested_success",
Elapsed: 0.00,
Elapsed: 0.02,
Passed: true,
File: "",
Line: 0,
Expand All @@ -1059,7 +1059,7 @@ var expectedGolang17Subtests = contract.PackageResult{
},
contract.TestResult{
TestName: "Test/success",
Elapsed: 0.00,
Elapsed: 0.01,
Passed: true,
File: "",
Line: 0,
Expand Down

0 comments on commit 4cd840e

Please sign in to comment.