Skip to content

Commit aeed58c

Browse files
committed
test: . Improve parameter name
1 parent aeab23c commit aeed58c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Task/ListItemHelpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ListItem } from '../../src/Task/ListItem';
22

3-
export function createChildListItem(originalMarkdown: string, item1: ListItem) {
3+
export function createChildListItem(originalMarkdown: string, parent: ListItem) {
44
// This exists purely to silence WebStorm about typescript:S1848
55
// See https://sonarcloud.io/organizations/obsidian-tasks-group/rules?open=typescript%3AS1848&rule_key=typescript%3AS1848
6-
new ListItem(originalMarkdown, item1);
6+
new ListItem(originalMarkdown, parent);
77
}

0 commit comments

Comments
 (0)