Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Attempt to get absolute path on every line of test output causes wrongful paths #1836

@Hunsin

Description

@Hunsin

Plugin version: 0.6.85
Go version: 1.10.3

Just a simple file, example_test.go:

// ... logger := log.New(os.Stdout, "", log.Lshortfile) logger.Println("Hello!") // output: example_test.go:10: Hello // I miss a "!" so that it will show FAIL when running test

This is the output by clicking run package tests from plugin:
log_shortfile_1

And this is the output from terminal directly, also what I expected:
log_shortfile_2

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions