1
0
mirror of https://github.com/ebosas/microservices.git synced 2025-06-30 22:33:51 +02:00

Create/update unit tests

This commit is contained in:
ebosas
2021-11-20 11:17:35 +02:00
parent 0fc96245d1
commit bd08ff7fdc
6 changed files with 151 additions and 2 deletions

View File

@ -5,6 +5,7 @@ import (
"time"
)
// TestFormatDuration tests duration formatting
func TestFormatDuration(t *testing.T) {
now := time.Now().Unix() * 1000
var tests = []struct {