commit | 216c9cdb1d159e22588b18fa5156218a5e051ba2 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Fri Jun 12 05:08:18 2015 +0000 |
committer | Daniel Jasper <djasper@google.com> | Fri Jun 12 05:08:18 2015 +0000 |
tree | 5414c21b868b5cfb8049cd4fb2aeacdcaf29cd42 | |
parent | 4c0bf7034c7383acb10e0d162feeb2ae58d14d5b [diff] [blame] |
clang-format: [JS] Support "export enum" declarations. llvm-svn: 239595
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index 888d73d..31386b4 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp
@@ -747,6 +747,11 @@ " a: 1,\n" " b: 2\n" "};"); + verifyFormat("export enum Foo {\n" + " BAR,\n" + " // adsdasd\n" + " BAZ\n" + "}"); } TEST_F(FormatTestJS, TemplateStrings) {