We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f10e8b5 commit c75da3aCopy full SHA for c75da3a
playwright/src/main/java/com/microsoft/playwright/impl/UrlMatcher.java
@@ -129,10 +129,12 @@ public int hashCode() {
129
130
@Override
131
public String toString() {
132
+ if (glob != null)
133
+ return String.format("<glob pattern=\"%s\">", glob);
134
if (pattern != null)
135
return String.format("<regex pattern=\"%s\" flags=\"%s\">", pattern.pattern(), toJsRegexFlags(pattern));
136
if (this.predicate != null)
137
return "<predicate>";
- return String.format("<glob pattern=\"%s\">", glob);
138
+ return "<true>";
139
}
140
0 commit comments