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,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() {