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

Change the meaning of List ~~ List.new test #706

Merged
merged 2 commits into from Nov 30, 2020
Merged

Conversation

vrurg
Copy link
Contributor

@vrurg vrurg commented Nov 30, 2020

The smartmatch should return False. But the problem it supposed to
test for, as stated in rakudo/rakudo#1833, is to make sure no warning is
produced by the match. This job is still done well by the test.

In support of rakudo/rakudo#4076

The smartmatch should return `False`. But the problem it supposed to
test for, as stated in rakudo/rakudo#1833, is to make sure no warning is
produced by the match. This job is still done well by the test.
First of all, intercept the warning and don't let them escape to keep
TAP output clear.

Also, make sure that the warnings produced are the ones we expect for.
@vrurg vrurg requested a review from lizmat November 30, 2020 03:43
@vrurg vrurg merged commit 5256c69 into Raku:master Nov 30, 2020
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

1 participant