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 2813db5 commit 95a56aaCopy full SHA for 95a56aa
src/test/java/software/amazon/smithy/lsp/UtilMatchers.java
@@ -5,6 +5,8 @@
5
6
package software.amazon.smithy.lsp;
7
8
+import static software.amazon.smithy.lsp.document.DocumentTest.safeString;
9
+
10
import java.nio.file.Path;
11
import java.nio.file.PathMatcher;
12
import java.util.Optional;
@@ -72,7 +74,7 @@ public static Matcher<String> stringEquals(String expected) {
72
74
return new CustomTypeSafeMatcher<>(expected) {
73
75
@Override
76
protected boolean matchesSafely(String item) {
- return expected.equals(item);
77
+ return safeString(expected).equals(item);
78
}
79
80
0 commit comments