Skip to content

Commit

Permalink
Update src/tests/stdlib/date_now.ab
Browse files Browse the repository at this point in the history
Co-authored-by: Phoenix Himself <[email protected]>
  • Loading branch information
hdwalters and Ph0enixKM authored Dec 19, 2024
1 parent 607c721 commit 1f4eee7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/stdlib/date_now.ab
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * from "std/date"

main {
if date_now() == (trust $ date +%s $ as Num): echo "Succeeded"
let posix_now = trust $ date +%s $ as Num
if date_now() == posix_new: echo "Succeeded"
}

0 comments on commit 1f4eee7

Please sign in to comment.