void () { assertThat(OSAgnosticPathUtil.startsWith("", "")).isTrue(); assertThat(OSAgnosticPathUtil.startsWith("/", "/")).isTrue(); assertThat(OSAgnosticPathUtil.startsWith("/", "\\")).isTrue(); assertThat(OSAgnosticPathUtil.startsWith("", "\\")).isFalse(); assertThat(OSAgnosticPathUtil.startsWith("/a\\b", "\\a")).isTrue(); assertThat(OSAgnosticPathUtil.startsWith("/a\\b", "\\a/")).isTrue(); assertThat(OSAgnosticPathUtil.startsWith("/ab", "\\a")).isFalse(); assertThat(OSAgnosticPathUtil.startsWith("/ab", "/a")).isFalse(); assertThat(OSAgnosticPathUtil.startsWith("/a/b\\c", "/a\\b")).isTrue(); assertThat(OSAgnosticPathUtil.startsWith("/a/bc", "/a\\b")).isFalse(); }