Skip to content

plz test --plain_output eating braces #3490

@rmillet-rs

Description

@rmillet-rs

Hello,

I use plz with go, and I found that it is stripping braces in test output.

myfile_test.go:

func TestPlz(t *testing.T) {
	fmt.Println("XXX ${AAAA} XXX")
	t.Fail()
}

If I run directly with go:

go test -run TestPlz ./mydir/*.go
XXX ${AAAA} XXX
--- FAIL: TestPlz (0.00s)

With plz:

plz test //... --plain_output TestPlz
08:25:42.583   ERROR: //lib/go/workflow/dsl/peg:test__unit failed: XXX ${AAAA} XXX
Fail: //lib/go/workflow/dsl/peg:test__unit   0 passed   0 skipped   1 failed   0 errored Took 10ms
Failure:  in TestPlz
XXX $AAAA XXX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions