clang-format: [JS] fix broken test.

llvm-svn: 291429
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp
index 12554a1..230717f 100644
--- a/clang/unittests/Format/FormatTestJS.cpp
+++ b/clang/unittests/Format/FormatTestJS.cpp
@@ -859,7 +859,9 @@
                "a = null\n"
                "  return   1");
   verifyFormat(
-      "x = {a: 1}\n"
+      "x = {\n"
+      "  a: 1\n"
+      "}\n"
       "class Y {}",
       "  x  =  {a  : 1}\n"
       "   class  Y {  }");