@@ -415,9 +415,9 @@ func TestGetPinnedMetrics(t *testing.T) {
415
415
// GetMetrics 2
416
416
metrics , err = GetPinnedMetrics (cache )
417
417
require .NoError (t , err )
418
- assert .Equal (t , len (metrics .PerModule ), 2 )
419
- assert .Equal (t , metrics .PerModule [checksumStr ].Hits , 0 )
420
- assert .Equal (t , metrics .PerModule [cyberpunkChecksumStr ].Hits , 0 )
418
+ assert .Equal (t , 2 , len (metrics .PerModule ))
419
+ assert .Equal (t , 0 , metrics .PerModule [checksumStr ].Hits )
420
+ assert .Equal (t , 0 , metrics .PerModule [cyberpunkChecksumStr ].Hits )
421
421
422
422
// Instantiate 1
423
423
gasMeter := NewMockGasMeter (TESTING_GAS_LIMIT )
@@ -434,9 +434,9 @@ func TestGetPinnedMetrics(t *testing.T) {
434
434
// GetMetrics 3
435
435
metrics , err = GetPinnedMetrics (cache )
436
436
require .NoError (t , err )
437
- assert .Equal (t , len (metrics .PerModule ), 1 )
438
- assert .Equal (t , metrics .PerModule [checksumStr ].Hits , 1 )
439
- assert .Equal (t , metrics .PerModule [cyberpunkChecksumStr ].Hits , 0 )
437
+ assert .Equal (t , 1 , len (metrics .PerModule ))
438
+ assert .Equal (t , 1 , metrics .PerModule [checksumStr ].Hits )
439
+ assert .Equal (t , 0 , metrics .PerModule [cyberpunkChecksumStr ].Hits )
440
440
}
441
441
442
442
func TestInstantiate (t * testing.T ) {
0 commit comments