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

#[test_case("*32", "332")] fails #2

Closed
davehylands opened this issue Apr 21, 2020 · 1 comment
Closed

#[test_case("*32", "332")] fails #2

davehylands opened this issue Apr 21, 2020 · 1 comment
Assignees

Comments

@davehylands
Copy link

Describe the bug
*foo should match any string which ends in foo.
*32 detects a match in 432 but doesn't detect a match in 332

To Reproduce
Add the following test cases:

#[test_case("*32", "432")]
#[test_case("*32", "332")]

Run cargo test

Expected behavior
Tests should pass

Desktop (please complete the following information):

  • OS: Mac OSX 10.15.4
  • Browser NA
  • Version NA

rustc -v reports

rustc 1.42.0 (b8cedc004 2020-03-09)
@becheran
Copy link
Owner

Thank you very much. I will provide a fix as soon as I can.

@becheran becheran self-assigned this Apr 21, 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

No branches or pull requests

2 participants