Skip to content

loader: use absolute paths in recorded path tests - #5913

Merged
davecheney merged 1 commit into
tinygo-org:devfrom
davecheney:davecheney-loader-recorded-path-tests
Oct 19, 2026
Merged

davecheney merged 1 commit into
tinygo-org:devfrom
davecheney:davecheney-loader-recorded-path-tests

Conversation

@davecheney

@davecheney davecheney commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

loader: use absolute paths in recorded path tests

Unix-rooted paths do not have a Windows volume after filepath.FromSlash.
Root the fixtures in t.TempDir so native paths are absolute while recorded
import paths keep their slash separators.

Unix-rooted paths do not have a Windows volume after filepath.FromSlash.
Root the fixtures in t.TempDir so native paths are absolute while recorded
import paths keep their slash separators.

@dgryski dgryski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davecheney
davecheney merged commit b7c0e01 into tinygo-org:dev Oct 19, 2026
34 checks passed
@davecheney
davecheney deleted the davecheney-loader-recorded-path-tests branch October 19, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants