Skip to content

Commit

Permalink
Add test for miliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
alexMcosta committed May 9, 2019
1 parent 872e4ec commit 5d12434
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions time_measures_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,14 @@ func TestTimeMeasures(t *testing.T) {
}

})

t.Run("test with miliseconds", func(t *testing.T) {
got := timeMeasures("1ms")
want := "1ms"

if want != got {
t.Errorf("got %v want %v", got, want)
}

})
}

0 comments on commit 5d12434

Please sign in to comment.