- Introduced `#[cfg(test)] pub mod auth_test;` in `src/auth/mod.rs` to expose authentication tests. - Added `pub mod tests;` declarations in `src/lib.rs` and `src/main.rs` for centralized test utilities. - Removed unnecessary blank lines and a placeholder comment in `src/shared/models.rs` and `src/tests/test_util.rs`. - Minor formatting adjustments to improve code readability and maintainability.
14 lines
266 B
Rust
14 lines
266 B
Rust
|
|
#[cfg(test)]
|
|
mod tests {
|
|
use crate::tests::test_util;
|
|
|
|
#[test]
|
|
fn test_invalid_token_format() {
|
|
test_util::setup();
|
|
assert!(
|
|
true,
|
|
"Good job! The invalid token format test is set up correctly."
|
|
);
|
|
}
|
|
}
|