Use TODO_ASSERT_EQUALS instead of TODO comments
This commit is contained in:
parent
9f59bd6dae
commit
5e78dae143
|
@ -2030,10 +2030,10 @@ private:
|
||||||
void varid_templateUsing() { // #5781 #7273
|
void varid_templateUsing() { // #5781 #7273
|
||||||
const char code[] = "template<class T> using X = Y<T>;\n"
|
const char code[] = "template<class T> using X = Y<T>;\n"
|
||||||
"X<int> x;";
|
"X<int> x;";
|
||||||
|
TODO_ASSERT_EQUALS("\nY<int> x@1;\n",
|
||||||
ASSERT_EQUALS("1: template < class T > using X ; X = Y < T > ;\n" // TODO: "1: \n"
|
"1: template < class T > using X ; X = Y < T > ;\n"
|
||||||
"2: X < int > x@1 ;\n", // TODO: "2: Y<int> x@1 ;"
|
"2: X < int > x@1 ;\n",
|
||||||
tokenize(code));
|
tokenize(code));
|
||||||
}
|
}
|
||||||
|
|
||||||
void varid_cppcast() {
|
void varid_cppcast() {
|
||||||
|
|
Loading…
Reference in New Issue