Fix tests by adjusting to platform behavior

This commit is contained in:
Abduqodiri Qurbonzoda
2022-02-17 20:19:35 +03:00
committed by Space
parent d500d03baa
commit 46408ffd9d
6 changed files with 98 additions and 27 deletions
+11 -1
View File
@@ -29,4 +29,14 @@ actual val supportsSuppressedExceptions: Boolean get() = true
public actual val supportsNamedCapturingGroup: Boolean get() = true
public actual val regexSplitUnicodeCodePointHandling: Boolean get() = true
public actual val regexSplitUnicodeCodePointHandling: Boolean get() = true
public actual object BackReferenceHandling {
actual val captureLargestValidIndex: Boolean get() = false
actual val notYetDefinedGroup: HandlingOption = HandlingOption.IGNORE_BACK_REFERENCE_EXPRESSION
actual val notYetDefinedNamedGroup: HandlingOption = HandlingOption.IGNORE_BACK_REFERENCE_EXPRESSION
actual val enclosingGroup: HandlingOption = HandlingOption.IGNORE_BACK_REFERENCE_EXPRESSION
actual val nonExistentGroup: HandlingOption = HandlingOption.THROW
actual val nonExistentNamedGroup: HandlingOption = HandlingOption.THROW
}