Skip to content

Add functional test for no-url-literals experimental feature#13555

Merged
xokdvium merged 1 commit intoNixOS:masterfrom
oknyshuk:no-url-literals-test
Aug 6, 2025
Merged

Add functional test for no-url-literals experimental feature#13555
xokdvium merged 1 commit intoNixOS:masterfrom
oknyshuk:no-url-literals-test

Conversation

@oknyshuk
Copy link
Contributor

Motivation

This experimental feature has been untested since it's addition. It's easy to cover it, so I did that.

Sorry if the test's suboptimal, I don't have much experience.

Context

Closes: #13533


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@oknyshuk oknyshuk requested a review from edolstra as a code owner July 25, 2025 15:15
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Jul 25, 2025
@Ericson2314
Copy link
Member

Hi, thanks for this. Can you see how the stdout/stderr files are avoided in other tests with pipes, and the expect functions for failures, and do that?

Copy link
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

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

Try to avoid so many intermediate files.

@oknyshuk oknyshuk force-pushed the no-url-literals-test branch from 51738f2 to 6e8f764 Compare July 31, 2025 13:40
@oknyshuk oknyshuk requested a review from Ericson2314 July 31, 2025 13:40
@oknyshuk
Copy link
Contributor Author

Hey, thanks for reviewing this. Is it better now?

Copy link
Contributor

@xokdvium xokdvium left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@xokdvium xokdvium merged commit 53492c0 into NixOS:master Aug 6, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

no-url-literals is untested

3 participants