mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-28 21:44:21 +01:00
core/datetime: Use "cfg(test)" annotation for tests
This commit is contained in:
@@ -259,6 +259,7 @@ fn get_time_from_naive_datetime(value: NaiveDateTime) -> String {
|
||||
value.format("%H:%M:%S").to_string()
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use std::rc::Rc;
|
||||
|
||||
Reference in New Issue
Block a user