File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -369,9 +369,13 @@ TEST(TestASN1, ASN1UniversalTime)
369
369
ASN1UniversalTime result;
370
370
371
371
EXPECT_EQ (result.ImportFrom_ASN1_TIME_string (testStr), CHIP_NO_ERROR);
372
- EXPECT_TRUE (result.Year == testCase.asn1Time .Year && result.Month == testCase.asn1Time .Month &&
373
- result.Day == testCase.asn1Time .Day && result.Hour == testCase.asn1Time .Hour &&
374
- result.Minute == testCase.asn1Time .Minute && result.Second == testCase.asn1Time .Second );
372
+
373
+ EXPECT_EQ (result.Year , testCase.asn1Time .Year );
374
+ EXPECT_EQ (result.Month , testCase.asn1Time .Month );
375
+ EXPECT_EQ (result.Day , testCase.asn1Time .Day );
376
+ EXPECT_EQ (result.Hour , testCase.asn1Time .Hour );
377
+ EXPECT_EQ (result.Minute , testCase.asn1Time .Minute );
378
+ EXPECT_EQ (result.Second , testCase.asn1Time .Second );
375
379
376
380
char buf[ASN1UniversalTime::kASN1TimeStringMaxLength ];
377
381
MutableCharSpan resultTimeStr (buf);
You can’t perform that action at this time.
0 commit comments