Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trivial: fix "item description flags" test in Windows builds #45394

Merged
merged 1 commit into from
Nov 15, 2020

Conversation

Aivean
Copy link
Contributor

@Aivean Aivean commented Nov 13, 2020

Summary

SUMMARY: Bugfixes "fix 'item description flags' test in Windows builds"

Purpose of change

Noticed item info test failure in Windows builds:

screenshot

https://travis-ci.org/github/CleverRaven/Cataclysm-DDA/jobs/743318251
image

This is a fallout from #45099 and #45277 , the test was relying on the lexicographic order of json_flag ids.

Describe the solution

Wrap the info generation in sort_lex to restore the previous behavior.

Describe alternatives you've considered

None.

Testing

Run this test locally.

@Aivean Aivean added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Code: Tests Measurement, self-control, statistics, balancing. labels Nov 13, 2020
@ZhilkinSerg ZhilkinSerg merged commit 7db04a7 into CleverRaven:master Nov 15, 2020
@Aivean Aivean deleted the fix-flag-test branch November 21, 2020 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Code: Tests Measurement, self-control, statistics, balancing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants