astyle fix
This commit is contained in:
parent
d67e3fcc49
commit
e3c1e14bb0
|
@ -427,9 +427,9 @@ private:
|
||||||
ASSERT_EQUALS("; alloc ; dealloc ;", simplifycode("; alloc ; if(!var) { alloc ; } dealloc ;"));
|
ASSERT_EQUALS("; alloc ; dealloc ;", simplifycode("; alloc ; if(!var) { alloc ; } dealloc ;"));
|
||||||
|
|
||||||
{
|
{
|
||||||
const char code[] = "; alloc ; if { dealloc ; return ; }";
|
const char code[] = "; alloc ; if { dealloc ; return ; }";
|
||||||
ASSERT_EQUALS(code, simplifycode(code));
|
ASSERT_EQUALS(code, simplifycode(code));
|
||||||
ASSERT_EQUALS("; alloc ;", simplifycode(code, true));
|
ASSERT_EQUALS("; alloc ;", simplifycode(code, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
// switch..
|
// switch..
|
||||||
|
@ -461,9 +461,9 @@ private:
|
||||||
TODO_ASSERT_EQUALS("; alloc ; return ;", simplifycode(";alloc;if{return;}return;"));
|
TODO_ASSERT_EQUALS("; alloc ; return ;", simplifycode(";alloc;if{return;}return;"));
|
||||||
|
|
||||||
{
|
{
|
||||||
const char code[] = "; alloc ; if { dealloc ; return ; } dealloc ;";
|
const char code[] = "; alloc ; if { dealloc ; return ; } dealloc ;";
|
||||||
ASSERT_EQUALS(code, simplifycode(code));
|
ASSERT_EQUALS(code, simplifycode(code));
|
||||||
TODO_ASSERT_EQUALS("; alloc ; dealloc ;", simplifycode(code));
|
TODO_ASSERT_EQUALS("; alloc ; dealloc ;", simplifycode(code));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue