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

Matching a URI doesn't work #14

Open
felixfbecker opened this issue Nov 12, 2016 · 0 comments
Open

Matching a URI doesn't work #14

felixfbecker opened this issue Nov 12, 2016 · 0 comments

Comments

@felixfbecker
Copy link

felixfbecker commented Nov 12, 2016

Glob::match(
  "file:///C:/Users/felix/git/OpenSource/php-language-server/fixtures/format.php",
  "C:/Users/felix/git/OpenSource/php-language-server/fixtures/**/*.php"
);

Expected: true (the glob should only be applied on the "path" component of the URI, not the scheme)
Actual: false (since no scheme is defined in the glob pattern)

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

1 participant