melib/datetime: rename tests for consistency
parent
fe200a3218
commit
2e6a1e1ef8
|
@ -426,12 +426,12 @@ pub fn now() -> UnixTimestamp {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_timestamp() {
|
fn test_datetime_timestamp() {
|
||||||
timestamp_to_string(0, None, false);
|
timestamp_to_string(0, None, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_rfcs() {
|
fn test_datetime_rfcs() {
|
||||||
if unsafe { libc::setlocale(libc::LC_ALL, b"\0".as_ptr() as _) }.is_null() {
|
if unsafe { libc::setlocale(libc::LC_ALL, b"\0".as_ptr() as _) }.is_null() {
|
||||||
println!("Unable to set locale.");
|
println!("Unable to set locale.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue