mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-04 20:50:14 -05:00
parser/gotest: Add test 131
This commit is contained in:
parent
4f6df9492b
commit
88177b5692
@ -594,7 +594,7 @@ var tests = []struct {
|
||||
{Type: "run_test", Name: "TestWithTab"},
|
||||
{Type: "output", Data: "no-tab"},
|
||||
{Type: "output", Data: "\tone-tab"},
|
||||
{Type: "output", Data: "\ttwo-tab"},
|
||||
{Type: "output", Data: "\t\ttwo-tab"},
|
||||
{Type: "end_test", Name: "TestWithTab", Result: "PASS"},
|
||||
{Type: "output", Data: "\twhitespace_test.go:31: no-tab"},
|
||||
{Type: "output", Data: "\twhitespace_test.go:32: \tone-tab"},
|
||||
@ -607,12 +607,12 @@ var tests = []struct {
|
||||
{Type: "output", Data: "two-newlines"},
|
||||
{Type: "output", Data: "two-newlines"},
|
||||
{Type: "end_test", Name: "TestWithNewlinesFlat", Result: "PASS"},
|
||||
{Type: "output", Data: " whitespace_test.go:40: no-newline"},
|
||||
{Type: "output", Data: " whitespace_test.go:41: one-newline"},
|
||||
{Type: "output", Data: " one-newline"},
|
||||
{Type: "output", Data: " whitespace_test.go:42: two-newlines"},
|
||||
{Type: "output", Data: " two-newlines"},
|
||||
{Type: "output", Data: " two-newlines"},
|
||||
{Type: "output", Data: "\twhitespace_test.go:40: no-newline"},
|
||||
{Type: "output", Data: "\twhitespace_test.go:41: one-newline"},
|
||||
{Type: "output", Data: "\t\tone-newline"},
|
||||
{Type: "output", Data: "\twhitespace_test.go:42: two-newlines"},
|
||||
{Type: "output", Data: "\t\ttwo-newlines"},
|
||||
{Type: "output", Data: "\t\ttwo-newlines"},
|
||||
{Type: "run_test", Name: "TestSubTests"},
|
||||
{Type: "run_test", Name: "TestSubTests/TestFlat"},
|
||||
{Type: "output", Data: "printf 1"},
|
||||
@ -626,8 +626,8 @@ var tests = []struct {
|
||||
{Type: "output", Data: "no-space"},
|
||||
{Type: "run_test", Name: "TestSubTests/TestWithTab"},
|
||||
{Type: "output", Data: "no-tab"},
|
||||
{Type: "output", Data: " one-tab"},
|
||||
{Type: "output", Data: " two-tab"},
|
||||
{Type: "output", Data: "\tone-tab"},
|
||||
{Type: "output", Data: "\t\ttwo-tab"},
|
||||
{Type: "run_test", Name: "TestSubTests/TestWithNewlinesFlat"},
|
||||
{Type: "output", Data: "no-newline"},
|
||||
{Type: "output", Data: "one-newline"},
|
||||
@ -637,11 +637,28 @@ var tests = []struct {
|
||||
{Type: "output", Data: "two-newlines"},
|
||||
{Type: "end_test", Name: "TestSubTests", Result: "PASS"},
|
||||
{Type: "end_test", Name: "TestSubTests/TestFlat", Result: "PASS", Indent: 1},
|
||||
{Type: "output", Data: " whitespace_test.go:9: log 1"},
|
||||
{Type: "output", Data: " whitespace_test.go:10: log 2"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:9: log 1"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:10: log 2"},
|
||||
{Type: "end_test", Name: "TestSubTests/TestWithSpace", Result: "PASS", Indent: 1},
|
||||
{Type: "output", Data: " whitespace_test.go:16: no-space"},
|
||||
{Type: "output", Data: " whitespace_test.go:17: one-space"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:16: no-space"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:17: one-space"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:18: two-space"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:19: four-space"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:20: eight-space"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:21: no-space"},
|
||||
{Type: "end_test", Name: "TestSubTests/TestWithTab", Result: "PASS", Indent: 1},
|
||||
{Type: "output", Data: " \twhitespace_test.go:31: no-tab"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:32: one-tab"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:33: two-tab"},
|
||||
{Type: "end_test", Name: "TestSubTests/TestWithNewlinesFlat", Result: "PASS", Indent: 1},
|
||||
{Type: "output", Data: " \twhitespace_test.go:40: no-newline"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:41: one-newline"},
|
||||
{Type: "output", Data: " \t\tone-newline"},
|
||||
{Type: "output", Data: " \twhitespace_test.go:42: two-newlines"},
|
||||
{Type: "output", Data: " \t\ttwo-newlines"},
|
||||
{Type: "output", Data: " \t\ttwo-newlines"},
|
||||
{Type: "status", Result: "PASS"},
|
||||
{Type: "summary", Result: "ok", Name: "github.com/jstemmer/test/whitespace", Duration: 1 * time.Millisecond},
|
||||
}},
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user