diff --git a/test/testvarid.cpp b/test/testvarid.cpp index d64a4b49b..8f9958a9d 100644 --- a/test/testvarid.cpp +++ b/test/testvarid.cpp @@ -2030,10 +2030,10 @@ private: void varid_templateUsing() { // #5781 #7273 const char code[] = "template using X = Y;\n" "X 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 x@1 ;" - tokenize(code)); + TODO_ASSERT_EQUALS("\nY x@1;\n", + "1: template < class T > using X ; X = Y < T > ;\n" + "2: X < int > x@1 ;\n", + tokenize(code)); } void varid_cppcast() {