[PATCH] Create a separate file for JS-specific unit tests.
    Daniel Jasper 
    djasper at google.com
       
    Mon Dec  2 07:51:23 PST 2013
    
    
  
================
Comment at: unittests/Format/FormatTestJS.cpp:16
@@ +15,3 @@
+TEST_F(FormatTest, UnderstandsJavaScriptOperators) {
+  FormatStyle JS = getLLVMStyle();
+  FormatStyle JS10Columns = getLLVMStyleWithColumns(10);
----------------
Can be done in a subsequent patch, but it would probably be nice if we didn't have to specify the language in every single test in this file.
http://llvm-reviews.chandlerc.com/D2307
BRANCH
  svn
ARCANIST PROJECT
  clang
    
    
More information about the cfe-commits
mailing list