Skip to content

Move test keys into tests#44

Merged
djc merged 1 commit intomainfrom
tests-keys
Apr 7, 2024
Merged

Move test keys into tests#44
djc merged 1 commit intomainfrom
tests-keys

Conversation

@djc
Copy link
Member

@djc djc commented Apr 7, 2024

IMO this is a more appropriate/conventional home for test data (compared to inside src).

(Context: looking at rustls/rustls#1462 again.)

@djc djc requested review from cpu and ctz April 7, 2024 11:26
Copy link
Member

@ctz ctz left a comment

Choose a reason for hiding this comment

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

I feel like behaviour tests that strictly use the public API should also not be in src/ (rationale: it's easy to accidentally neglect to export a public API)

Copy link
Member

@cpu cpu left a comment

Choose a reason for hiding this comment

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

I feel like behaviour tests that strictly use the public API should also not be in src/

Agreed. Moving some of the existing tests seems like a good follow-up.

@djc djc added this pull request to the merge queue Apr 7, 2024
@djc
Copy link
Member Author

djc commented Apr 7, 2024

I'll follow up with those changes.

Merged via the queue into main with commit 8683cc7 Apr 7, 2024
@djc djc deleted the tests-keys branch April 7, 2024 15:11
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.

3 participants