mirror of
https://github.com/RGBCube/revolt.v
synced 2025-07-28 01:17:46 +00:00
Rename test
This commit is contained in:
parent
32e7c79cef
commit
62116cbaf2
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ module revolt
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
fn test_time() {
|
fn test_time_format() {
|
||||||
time := Time(time.unix(1670178420))
|
time := Time(time.unix(1670178420))
|
||||||
assert time.format(.short_time) == '<t:1670178420:t>'
|
assert time.format(.short_time) == '<t:1670178420:t>'
|
||||||
assert time.format(.long_time) == '<t:1670178420:T>'
|
assert time.format(.long_time) == '<t:1670178420:T>'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue