Use TODO_ASSERT_EQUALS instead of TODO comments

This commit is contained in:
Daniel Marjamäki 2016-08-02 19:38:36 +02:00
parent 9f59bd6dae
commit 5e78dae143
1 changed files with 4 additions and 4 deletions

View File

@ -2030,9 +2030,9 @@ private:
void varid_templateUsing() { // #5781 #7273
const char code[] = "template<class T> using X = Y<T>;\n"
"X<int> x;";
ASSERT_EQUALS("1: template < class T > using X ; X = Y < T > ;\n" // TODO: "1: \n"
"2: X < int > x@1 ;\n", // TODO: "2: Y<int> x@1 ;"
TODO_ASSERT_EQUALS("\nY<int> x@1;\n",
"1: template < class T > using X ; X = Y < T > ;\n"
"2: X < int > x@1 ;\n",
tokenize(code));
}