Simplify some code in parseTestData (#22587)
Simplify some code in parseTestData (#22587)


kpreisser/TypeScript,weswigham/TypeScript,alexeagle/TypeScript,SaschaNaz/TypeScript,donaldpipowitch/TypeScript,minestarks/TypeScript,RyanCavanaugh/TypeScript,donaldpipowitch/TypeScript,nojvek/TypeScript,Microsoft/TypeScript,alexeagle/TypeScript,alexeagle/TypeScript,SaschaNaz/TypeScript,kitsonk/TypeScript,SaschaNaz/TypeScript,Microsoft/TypeScript,nojvek/TypeScript,microsoft/TypeScript,basarat/TypeScript,donaldpipowitch/TypeScript,RyanCavanaugh/TypeScript,Microsoft/TypeScript,nojvek/TypeScript,minestarks/TypeScript,kpreisser/TypeScript,kitsonk/TypeScript,nojvek/TypeScript,weswigham/TypeScript,SaschaNaz/TypeScript,basarat/TypeScript,basarat/TypeScript,microsoft/TypeScript,weswigham/TypeScript,minestarks/TypeScript,kpreisser/TypeScript,kitsonk/TypeScript,donaldpipowitch/TypeScript,microsoft/TypeScript,basarat/TypeScript,RyanCavanaugh/TypeScript