Skip to content

Commit

Permalink
Updated minor typo in error statement (apache#7731)
Browse files Browse the repository at this point in the history
Updated cache test
  • Loading branch information
rimashah25 authored Aug 17, 2023
1 parent 1adfebc commit 13184de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffic_monitor/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func TestParseAndDecode(t *testing.T) {
if val, ok := miscStats["plugin.system_stats.timestamp_ms_float64"]; ok {
valType := reflect.TypeOf(val)
if valType.Kind() != reflect.Float64 {
t.Errorf("type mismatch, expected: string, got:%s", valType)
t.Errorf("type mismatch, expected: float64, got:%s", valType)
}
val1, _ := parseNumericStat(val)
if val1 != uint64(1684784877939) {
Expand Down

0 comments on commit 13184de

Please sign in to comment.