aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/legacy/003_cindent_spec.lua36
1 files changed, 35 insertions, 1 deletions
diff --git a/test/functional/legacy/003_cindent_spec.lua b/test/functional/legacy/003_cindent_spec.lua
index 50909e625d..19694550f4 100644
--- a/test/functional/legacy/003_cindent_spec.lua
+++ b/test/functional/legacy/003_cindent_spec.lua
@@ -901,6 +901,23 @@ describe('cindent', function()
{
111111111111111111;
}
+ void getstring() {
+ /* Raw strings */
+ const char* s = R"(
+ test {
+ # comment
+ field: 123
+ }
+ )";
+ }
+ void getstring() {
+ const char* s = R"foo(
+ test {
+ # comment
+ field: 123
+ }
+ )foo";
+ }
/* end of AUTO */
]=])
@@ -1790,6 +1807,23 @@ describe('cindent', function()
{
111111111111111111;
}
+ void getstring() {
+ /* Raw strings */
+ const char* s = R"(
+ test {
+ # comment
+ field: 123
+ }
+ )";
+ }
+ void getstring() {
+ const char* s = R"foo(
+ test {
+ # comment
+ field: 123
+ }
+ )foo";
+ }
/* end of AUTO */
]=])
@@ -4214,7 +4248,7 @@ describe('cindent', function()
]=])
end)
- it('54 is working', function()
+ it('javascript indent / vim-patch 7.4.670', function()
insert_([=[
JSSTART