diff options
Diffstat (limited to '.config/fisher/github.com/matchai/spacefish/tests/__sf_util_human_time.test.fish')
-rw-r--r-- | .config/fisher/github.com/matchai/spacefish/tests/__sf_util_human_time.test.fish | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/.config/fisher/github.com/matchai/spacefish/tests/__sf_util_human_time.test.fish b/.config/fisher/github.com/matchai/spacefish/tests/__sf_util_human_time.test.fish deleted file mode 100644 index 730cc027..00000000 --- a/.config/fisher/github.com/matchai/spacefish/tests/__sf_util_human_time.test.fish +++ /dev/null @@ -1,89 +0,0 @@ -test "Shows milliseconds" - '1ms' = ( - echo 1 | __sf_util_human_time my_var - ) -end - -test "Shows seconds" - '1s' = ( - echo 1000 | __sf_util_human_time my_var - ) -end - -test "Shows seconds and milliseconds" - '1s 1ms' = ( - echo 1001 | __sf_util_human_time my_var - ) -end - -test "Shows minutes" - '1m' = ( - echo 60000 | __sf_util_human_time my_var - ) -end - -test "Shows minutes and milliseconds" - '1m 1ms' = ( - echo 60001 | __sf_util_human_time my_var - ) -end - -test "Shows minutes and seconds" - '1m 1s' = ( - echo 61000 | __sf_util_human_time my_var - ) -end - -test "Shows minutes, seconds, and milliseconds" - '1m 1s 1ms' = ( - echo 61001 | __sf_util_human_time my_var - ) -end - -test "Shows hours" - '1h' = ( - echo 3600000 | __sf_util_human_time my_var - ) -end - -test "Shows hours and milliseconds" - '1h 1ms' = ( - echo 3600001 | __sf_util_human_time my_var - ) -end - -test "Shows hours and seconds" - '1h 1s' = ( - echo 3601000 | __sf_util_human_time my_var - ) -end - -test "Shows hours, seconds, and milliseconds" - '1h 1s 1ms' = ( - echo 3601001 | __sf_util_human_time my_var - ) -end - -test "Shows hours and minutes" - '1h 1m' = ( - echo 3660000 | __sf_util_human_time my_var - ) -end - -test "Shows hours, minutes, and milliseconds" - '1h 1m 1ms' = ( - echo 3660001 | __sf_util_human_time my_var - ) -end - -test "Shows hours, minutes, and seconds" - '1h 1m 1s' = ( - echo 3661000 | __sf_util_human_time my_var - ) -end - -test "Shows hours, minutes, seconds, and milliseconds" - '1h 1m 1s 1ms' = ( - echo 3661001 | __sf_util_human_time my_var - ) -end |