Description
Tests on a default Hello World carton project fails during compilation. Here is the result of carton test:
error: no such module 'carton_demo'
@testable import carton_demo
^
note: module 'carton_demo' is the main module of an executable, and cannot be imported by tests and other targets
Executing swift test on the same project just works.
Steps to reproduce
mkdir carton_demo
cd carton_demo
carton init
carton test
Environment
- carton --version => 0.17.0
- swift-wasm toolchain: wasm-5.7.1-RELEASE
- macOS 13.3
- swift --version => swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
Description
Tests on a default Hello World carton project fails during compilation. Here is the result of
carton test:Executing
swift teston the same project just works.Steps to reproduce
Environment