You've already forked microservices
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:
@ -5,6 +5,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// TestFormatDuration tests duration formatting
|
||||
func TestFormatDuration(t *testing.T) {
|
||||
now := time.Now().Unix() * 1000
|
||||
var tests = []struct {
|
||||
|
Reference in New Issue
Block a user