Skip to content

Commit 62015a2

Browse files
committed
compose test [nfc]: Make trailing whitespace explicit in test cases
The test case 'whitespace around info string' includes a line that ends with a white space, while this is important for the test case it can cause two issues: * It could accidentally get reformatted by code editor * It is not explicit for developers reading the code This commit is making the trailing white space be more explicit.
1 parent 9044a9a commit 62015a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/model/compose_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ world
9595
});
9696

9797
test('whitespace around info string', () {
98+
const infoString = ' javascript ';
9899
checkFenceWrap('''
99100
````
100-
``` javascript
101+
```$infoString
101102
// hello world
102103
```
103104
````

0 commit comments

Comments
 (0)