diff options
Diffstat (limited to 'clang/unittests/Format/FormatTestCSharp.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestCSharp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestCSharp.cpp b/clang/unittests/Format/FormatTestCSharp.cpp index 47ad779..a18f57ec 100644 --- a/clang/unittests/Format/FormatTestCSharp.cpp +++ b/clang/unittests/Format/FormatTestCSharp.cpp @@ -575,6 +575,8 @@ TEST_F(FormatTestCSharp, CSharpEscapedQuotesInVerbatimStrings) { verifyFormat(R"(string str = @"""Hello world""";)", Style); verifyFormat(R"(string str = $@"""Hello {friend}""";)", Style); verifyFormat(R"(return $@"Foo ""/foo?f={Request.Query["f"]}""";)", Style); + verifyFormat(R"(return @$"Foo ""/foo?f={Request.Query["f"]}""";)", Style); + verifyFormat(R"(return @$"path\to\{specifiedFile}")", Style); } TEST_F(FormatTestCSharp, CSharpQuotesInInterpolatedStrings) { |