From 5e27146df780271143355b82ab05fb8baac88b95 Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Mon, 4 Jan 2016 16:10:36 +0000 Subject: clang-format: [JS] Support more ES6 default exports. llvm-svn: 256759 --- clang/unittests/Format/FormatTestJS.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/unittests/Format/FormatTestJS.cpp') diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index 0013e83ddd6..2f67bdf549c 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp @@ -870,6 +870,7 @@ TEST_F(FormatTestJS, Modules) { " bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\n" "];"); verifyFormat("export default [];"); + verifyFormat("export default () => {};"); } TEST_F(FormatTestJS, TemplateStrings) { -- cgit v1.2.3