fix: resolve kmp-sdk build failure on iOS native test compilation

Replace assert() with assertTrue() in MrzKeyUtilsTest to avoid
ExperimentalNativeApi opt-in requirement on Kotlin/Native. Also
gitignore the copyWebViewAssets build artifact (shared/src/main/).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
turnoffthiscomputer
2026-02-16 18:44:45 +01:00
parent addfebe817
commit 74695784d5
2 changed files with 2 additions and 1 deletions

View File

@@ -8,3 +8,4 @@ build/
*.log
*.tmp
local.properties
shared/src/main/

View File

@@ -49,7 +49,7 @@ class MrzKeyUtilsTest {
fun computeMrzKey_pads_short_passport_number() {
val key = MrzKeyUtils.computeMrzKey("AB1234", "900101", "300101")
// "AB1234" padded to 9 → "AB1234<<<"
assert(key.startsWith("AB1234<<<"))
assertTrue(key.startsWith("AB1234<<<"))
assertEquals(24, key.length)
}