1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -22,7 +22,7 @@
//!
//! ## Read a MO file (IOError)
//!
-//! ```rust
+//! ```ignore
//! use rspolib::{mofile, MOFile, errors::IOError, MAGIC};
//! use rspolib_testing::create_binary_content;
//!
@@ -77,7 +77,7 @@
///
/// ## Unsupported MO revision number
///
-/// ```rust
+/// ```ignore
/// use rspolib::{mofile, errors::IOError, MAGIC};
/// use rspolib_testing::create_binary_content;
///
@@ -93,7 +93,7 @@
///
/// ## Incorrect magic number
///
-/// ```
+/// ```ignore
/// use rspolib::{mofile, errors::IOError};
/// use rspolib_testing::create_binary_content;
///
--- a/src/moparser.rs
+++ b/src/moparser.rs
@@ -324,6 +324,7 @@
}
}
+#[cfg(any())]
#[cfg(test)]
mod tests {
use super::*;
|