Formatted code. There are no functional changes. [ci skip]
This commit is contained in:
parent
7a19be4da1
commit
c358688c68
|
@ -21,11 +21,12 @@ namespace ExampleNamespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
TEST(ASSERT, ASSERT) {
|
TEST(ASSERT, ASSERT)
|
||||||
int *a = (int*)calloc(10,sizeof(int));
|
{
|
||||||
ASSERT_TRUE(a != nullptr);
|
int *a = (int*)calloc(10,sizeof(int));
|
||||||
|
ASSERT_TRUE(a != nullptr);
|
||||||
|
|
||||||
a[0] = 10;
|
a[0] = 10;
|
||||||
|
|
||||||
free(a);
|
free(a);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue