fix: remove unnecessary cfg(test) attributes from test modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
14
src/lib.rs
Normal file
14
src/lib.rs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// Re-export modules for testing
|
||||||
|
pub mod common;
|
||||||
|
pub mod compression_engine;
|
||||||
|
pub mod db;
|
||||||
|
pub mod meta_plugin;
|
||||||
|
pub mod modes;
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
|
#[test]
|
||||||
|
fn test_library_structure() {
|
||||||
|
assert!(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,16 +1,8 @@
|
|||||||
#[cfg(test)]
|
|
||||||
pub mod compression;
|
pub mod compression;
|
||||||
#[cfg(test)]
|
|
||||||
pub mod compression_types;
|
pub mod compression_types;
|
||||||
#[cfg(test)]
|
|
||||||
pub mod compression_engine;
|
pub mod compression_engine;
|
||||||
#[cfg(test)]
|
|
||||||
pub mod meta_plugin;
|
pub mod meta_plugin;
|
||||||
#[cfg(test)]
|
|
||||||
pub mod modes;
|
pub mod modes;
|
||||||
#[cfg(test)]
|
|
||||||
pub mod server;
|
pub mod server;
|
||||||
#[cfg(test)]
|
|
||||||
pub mod common;
|
pub mod common;
|
||||||
#[cfg(test)]
|
|
||||||
pub mod db;
|
pub mod db;
|
||||||
|
|||||||
Reference in New Issue
Block a user