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

Rename expected-to-fail? to expected-to-fail-test #151

Merged
merged 2 commits into from
Mar 14, 2022
Merged

Conversation

cgay
Copy link
Member

@cgay cgay commented Mar 13, 2022

Rename expected-to-fail? to expected-to-fail-test
This option is easy to misuse, like this:

expected-to-fail?: $os-name == #"win32"

so I tried to make it clearer that the value should always be a function.

fail. Normally it should reference a bug (a URL or at least a bug number).
If *expected-to-fail-reason* is supplied, *expected-to-fail?* may be
omitted because it is implied to be ``#t``.
*expected-to-fail?*, if supplied, is a function of no arguments that returns
Copy link
Member

Choose a reason for hiding this comment

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

Why not call it expected-to-fail-test then?

Copy link
Member Author

Choose a reason for hiding this comment

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

SGTM. Will update with that.

Copy link
Member Author

Choose a reason for hiding this comment

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

I rebased this onto my github-ci branch because I needed to have the used libraries submoduled in.

@cgay cgay force-pushed the doc branch 2 times, most recently from 36d4f2c to 033b06e Compare March 14, 2022 03:02
This option is easy to misuse, like this:

  `expected-to-fail?: $os-name == #"win32"`

so I tried to make it clearer that the value should always be a function.
@cgay cgay changed the title [doc] Word-smithing the expected-to-fail args Rename expected-to-fail? to expected-to-fail-test Mar 14, 2022
@cgay cgay merged commit d8d78ae into dylan-lang:master Mar 14, 2022
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.

None yet

2 participants