added: lib.rs split + tests/ scaffold for integration testing
This commit is contained in:
1 parent
efcef1cab4
commit
aeeef26614
6 files changed
+262
-14
No files matched your search
@@ -0,0 +1,4 @@
|
||||
//! shared helpers for integration tests in tests/. populated by phase C
|
||||
//! when filesystem-touching tests move out of inline modules.
|
||||
|
||||
// intentionally empty for now.
|
||||
@@ -0,0 +1,10 @@
|
||||
//! verifies the lib/main split worked: integration tests can see crate items
|
||||
//! through the public API.
|
||||
|
||||
#[test]
|
||||
fn lib_target_is_importable() {
|
||||
// touch one pure function from each major module so the linker fails if
|
||||
// any module went private by mistake during the split.
|
||||
assert!(rmcl::net::maven_coord_to_path("a:b:1.0").is_some());
|
||||
let _ = rmcl::config::SETTINGS.paths.effective_java_path();
|
||||
}
|
||||
Reference in new issue
Block a user