commit | 6fa9ec788508472e8e07a2c6f0ccbdbd64f1ade7 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Thu Feb 19 16:03:16 2015 +0000 |
committer | Daniel Jasper <djasper@google.com> | Thu Feb 19 16:03:16 2015 +0000 |
tree | f907e165ae2195c5207b42d114687c3cde310a55 | |
parent | ea68a944a1e92b619acececd66ca89d30cd59e4d [diff] [blame] |
clang-format: [js] Do not fall through for JS structural elements. Patch by Martin Probst. Thank you. llvm-svn: 229862
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index 8c74b04..b60e470 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp
@@ -521,6 +521,8 @@ " return 'y';\n" " }\n" "}"); + verifyFormat("class X {}\n" + "class Y {}"); } } // end namespace tooling