Sounds like a silly question, but was wondering how should I import modules with spaces ?
I am following this link to add test cases, but my project has a space, say foo bar
. So how should I import using @testable
@testable import foo bar
throws error
I also had this issue and finally figured out that a underscore _
are the replacement for spaces in module names.
So you should write the following.
@testable import foo_bar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With