1
Fork 0
mirror of https://github.com/RGBCube/revolt.v synced 2025-07-27 17:07:45 +00:00

Rename test

This commit is contained in:
RGBCube 2022-12-16 22:36:03 +03:00
parent 32e7c79cef
commit 62116cbaf2

View file

@ -2,7 +2,7 @@ module revolt
import time
fn test_time() {
fn test_time_format() {
time := Time(time.unix(1670178420))
assert time.format(.short_time) == '<t:1670178420:t>'
assert time.format(.long_time) == '<t:1670178420:T>'