================
Comment at: unittests/Format/FormatTestJS.cpp:652
@@ +651,3 @@
+ // Comments in template strings.
+ verifyFormat("var x = `//a`;\n"
+ "var y");
----------------
I'd be slightly hesitant to use verifyFormat for any of these as that simply
cops out when finding "//". Thus, tests might pass for the wrong reasons. It is
probably better to use EXPECT_EQ with a manually messed up "before".
http://reviews.llvm.org/D8990
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits