mprobst added inline comments.

================
Comment at: unittests/Format/FormatTestJS.cpp:56
@@ +55,3 @@
+
+  static void verifyFormatNoMessup(
+      llvm::StringRef Code,
----------------
djasper wrote:
> I don't think it is useful to do this as there are always ways in which 
> formatting can fail leaving the input untouched. We still want to verify that 
> formatting takes place.
> 
> To do so, manually mess up the code in some way and use EXPECT_EQ. There 
> should be various examples in FormatTest.cpp.
Done - introduced a `verifyFormat(str, str, style)` to make it a less verbose.


http://reviews.llvm.org/D17910



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to