Skip to content

Commit 6619a47

Browse files
committed
update snapshot
1 parent 193a9c1 commit 6619a47

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

src/ast/__snapshots__/ast_test.snap

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
ast.File{
44
Name: "some",
55
Body: {
6-
ast.TypeDeclaration{Id:"Status", Kind:"string"},
6+
ast.TypeDeclaration{Id:"Status", Kind:"int"},
77
ast.ConstDeclaration{
88
Declarators: {
99
{Kind:"Status", Id:"Todo", Value:"iota"},
1010
{Kind:"", Id:"Done", Value:""},
11+
{Kind:"", Id:"Pending", Value:""},
1112
{Kind:"", Id:"InProgress", Value:""},
1213
},
1314
},
14-
ast.TypeDeclaration{Id:"Sex", Kind:"int"},
15+
ast.TypeDeclaration{Id:"Sex", Kind:"string"},
1516
ast.ConstDeclaration{
1617
Declarators: {
1718
{Kind:"Sex", Id:"Female", Value:"female"},

src/generator/__snapshots__/generator_test.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11

22
[TestNormal - 1]
33
namespace some {
4-
export enum Sex {
5-
Female = 'female',
6-
Male = 'male',
7-
}
84
export enum Status {
9-
Pending = 2,
10-
InProgress = 3,
115
Todo = 0,
126
Done = 1,
7+
Pending = 2,
8+
InProgress = 3,
9+
}
10+
export enum Sex {
11+
Female = 'female',
12+
Male = 'male',
1313
}
1414
}
1515

0 commit comments

Comments
 (0)