File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
packages/cursorless-org-docs/src/docs/contributing Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,21 @@ Don't add more lines than the example actually needs. For example if the test is
1061060| class Foo {}
107107```
108108
109- Sometimes we actually need a body but that doesn't mean that we need it to be multiple lines. The facet ` interior.class ` can look like this:
109+ There are two exceptions to this rule:
110+
111+ 1 . Sometimes we actually need a body, but that doesn't mean that we need it to be multiple lines. The facet ` interior.class ` can look like this:
110112
111113```
112114 >-<
1131150| class Foo { }
114116```
117+
118+ 2 . If you're doing a ` iteration.document ` test we want to include a leading and trailing new line. eg:
119+
120+ ```
121+ >
122+ 0|
123+ 1| int foo;
124+ 2|
125+ <
126+ ```
You can’t perform that action at this time.
0 commit comments