Skip to content

Commit ef017c8

Browse files
Added more docs
1 parent 72c6c12 commit ef017c8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/cursorless-org-docs/src/docs/contributing/scope-test-format.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ For ease of readability we want all scope test to follow the recommended style g
8686
- For data type we usually use `int` or `number`.
8787
- For value we usually use `0`, `1`, `2` and so on.
8888

89+
Examples:
90+
91+
```
92+
class Foo {}
93+
int foo = 0;
94+
foo(aaa, bbb);
95+
```
96+
8997
### Keep it compact
9098

9199
Don't add more lines than the example actually needs. For example if the test is about the class name, the facet `name.class`: there is no point having a lot of code in the class body or having its span multiple lines.

0 commit comments

Comments
 (0)