diff options
Diffstat (limited to 'tests/indent/cpp_spec.lua')
| -rw-r--r-- | tests/indent/cpp_spec.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/indent/cpp_spec.lua b/tests/indent/cpp_spec.lua index 07adff52f..693279b89 100644 --- a/tests/indent/cpp_spec.lua +++ b/tests/indent/cpp_spec.lua @@ -31,7 +31,9 @@ describe("indent C++:", function() -- TODO: find a clean way to import these from c_spec.lua run:new_line("c/array.c", { on_line = 2, text = "0,", indent = 4 }) run:new_line("c/cond.c", { on_line = 3, text = "x++;", indent = 8 }) + run:new_line("c/cond.c", { on_line = 6, text = "x++;", indent = 8 }) run:new_line("c/cond.c", { on_line = 8, text = "x++;", indent = 8 }) + run:new_line("c/cond.c", { on_line = 9, text = "x++;", indent = 4 }) run:new_line("c/expr.c", { on_line = 10, text = "2 *", indent = 8 }) run:new_line("c/func.c", { on_line = 17, text = "int z,", indent = 4 }) run:new_line("c/label.c", { on_line = 3, text = "normal:", indent = 0 }, "expected failure", XFAIL) |
