diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index 0c8329dddd5364..069b7b19e316e8 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp @@ -2692,5 +2692,9 @@ TEST_F(FormatTestJS, NoBreakAfterAsserts) { "}\n"); } +TEST_F(FormatTestJS, NumericSeparators) { + verifyFormat("x = 1_000_000 + 12;", "x = 1_000_000 + 12;"); +} + } // namespace format } // end namespace clang