Join Slack
Communities
Powered by
hello all! I need to create a file with an actual...
# multiplatform
m
Manuel Lorenzo
11/04/2024, 8:53 PM
hello all! I need to create a file with an actual implementation only for testing purposes, but if I create the file in
commonTest
with the name for example
HTMLParsing.commonTest.kt
or
HTMLParsing.test.kt
it’s not recognized as an actual implementation
r
russhwolf
11/04/2024, 11:12 PM
You can only use an actual from your test sources for an expect in commonTest. You can't use expect/actual to swap in a test-specific implementation.
m
Manuel Lorenzo
11/05/2024, 7:21 AM
Sorry, how exactly do you mean?
Open in Slack
Previous
Next