I am trying to do comTests in java and trying to make a String of the line “/* 01 / Just pull out my trigger, I got thatn/ 02 / I’ma pop, pop, pop, take a shot, yeahn/ 03 / Shoot down my goals one by one, I snipe n”. However, the “/ */” that are in the line numbers make the editor think I ended the comment even though they are inside “”.
- String result = “/* 01 / Just pull out my trigger, I got thatn/ 02 / I’ma pop, pop, pop, take a shot, yeahn/ 03 */ Shoot down my goals one by one, I snipe n”;
- so.ero(result) === null;
*/
Anything after “/* 01 */” is unexpected token
New contributor
Banaani On banaani is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.