0.0.1-alpha.5.fix.1

This commit is contained in:
2026-09-28 10:02:47 +02:00
parent c17b7068a3
commit a1b56af8ed
23 changed files with 427 additions and 55 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/knowledge-domain-lib/src/lib.rs
// version: 2
// version: 3
//! Shared domain contracts for SaseDev Knowledge.
//!
@@ -11,6 +11,3 @@ mod source;
pub use crate::content_family::ContentFamily;
pub use crate::source::{ContentSource, SourceId, SourceIdError};
#[cfg(test)]
mod unit_tests;

View File

@@ -1,5 +1,5 @@
// file: crates/knowledge-domain-lib/src/source.rs
// version: 2
// version: 3
//! Source identities independent of repository and forge providers.
@@ -66,3 +66,7 @@ impl crate::ContentSource {
return self.family;
}
}
#[cfg(test)]
#[path = "../unit_tests/source.rs"]
mod tests;

View File

@@ -1,5 +1,5 @@
// file: crates/knowledge-domain-lib/src/unit_tests.rs
// version: 2
// file: crates/knowledge-domain-lib/unit_tests/source.rs
// version: 1
#[test]
fn source_id_rejects_empty_values() {