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

Allow tests to pass with both fmt < 7.1 and fmt >= 7.1 #14379

Merged
merged 1 commit into from
Nov 20, 2020

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented Nov 20, 2020

The default string formatting of integer-valued floating-point values changed as of fmt 7.1.0. In anticipation of Drake releases (or at least some Drake users) building against older revisions of fmt, we adjust magic string literals in tests to allow for either spelling.

Relates #14220. Amends #14272.

\CC @hidmic FYI


This change is Reviewable

The default string formatting of integer-valued floating-point values
changed as of fmt 7.1.0.  In anticipation of Drake releases (or at least
some Drake users) building against older revisions of fmt, we adjust the
magic string literals in tests to allow for either spelling.
@jwnimmer-tri jwnimmer-tri added priority: low status: single reviewer ok https://drake.mit.edu/reviewable.html labels Nov 20, 2020
@sammy-tri sammy-tri self-assigned this Nov 20, 2020
Copy link
Contributor

@sammy-tri sammy-tri left a comment

Choose a reason for hiding this comment

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

+@sammy-tri for review

Reviewable status: LGTM missing from assignee sammy-tri(platform) (waiting on @sammy-tri)

Copy link
Contributor

@sammy-tri sammy-tri left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignee sammy-tri(platform)

@jwnimmer-tri jwnimmer-tri merged commit 68475b2 into RobotLocomotion:master Nov 20, 2020
@jwnimmer-tri jwnimmer-tri deleted the fmt-compat branch November 20, 2020 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low status: single reviewer ok https://drake.mit.edu/reviewable.html
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants