Skip to content

Commit f003239

Browse files
committed
Issue 586: Add tests with keep_line_breaks true
(Currently) only testing for the indentation problem after a newline.
1 parent 0c7c86f commit f003239

5 files changed

+28
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
void test()
2+
{
3+
return Struct(
4+
foo: field.foo,
5+
bar: field.bar,
6+
baz: field.baz);
7+
}

tests/issue0586_keep_line_breaks.args

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--keep_line_breaks true

tests/issue0586_keep_line_breaks.d

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
void test()
2+
{
3+
return Struct(
4+
foo: field.foo,
5+
bar: field.bar,
6+
baz: field.baz);
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
void test()
2+
{
3+
return Struct(
4+
foo: field.foo,
5+
bar: field.bar,
6+
baz: field.baz);
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
void test() {
2+
return Struct(
3+
foo: field.foo,
4+
bar: field.bar,
5+
baz: field.baz);
6+
}

0 commit comments

Comments
 (0)