Skip to content

Commit d13ed32

Browse files
committed
add class doc comment tests
1 parent c744a30 commit d13ed32

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
class_name Player
2+
extends CharacterBody2D
3+
## A brief description of the class's role and functionality.
4+
##
5+
## The description of script
6+
class_name Player
7+
extends CharacterBody2D
8+
## A brief description of the class's role and functionality.
9+
##
10+
## The description of script
11+
class_name Player
12+
extends CharacterBody2D
13+
## A brief description of the class's role and functionality.
14+
##
15+
## The description of script
16+
17+
var a = 10
18+
class_name Player
19+
extends CharacterBody2D
20+
## A brief description of the class's role and functionality.
21+
##
22+
## The description of script
23+
24+
var a = 10

tests/input/class_doc_comment.gd

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
class_name Player extends CharacterBody2D
2+
3+
## A brief description of the class's role and functionality.
4+
##
5+
## The description of script
6+
class_name Player extends CharacterBody2D
7+
## A brief description of the class's role and functionality.
8+
##
9+
## The description of script
10+
class_name Player extends CharacterBody2D
11+
## A brief description of the class's role and functionality.
12+
##
13+
## The description of script
14+
15+
var a = 10
16+
class_name Player
17+
extends CharacterBody2D
18+
19+
## A brief description of the class's role and functionality.
20+
##
21+
## The description of script
22+
23+
var a = 10

0 commit comments

Comments
 (0)