Skip to content

Commit 69b9f7d

Browse files
Update syntax tests
1 parent 7585051 commit 69b9f7d

File tree

6 files changed

+10
-0
lines changed

6 files changed

+10
-0
lines changed

tests/syntax_tests/data/ppx/react/expected/externalWithRef.res.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ module V4C = {
1010
@module("componentForwardRef")
1111
external make: React.component<props<string, ReactDOM.Ref.currentDomRef>> = "component"
1212
}
13+
let \"ExternalWithRef$V4C" = V4C.make and \"ExternalWithRef$V4C$jsx" = true

tests/syntax_tests/data/ppx/react/expected/externalWithTypeVariables.res.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ module V4C = {
1010
@module("c")
1111
external make: React.component<props<t<'a>, React.element>> = "component"
1212
}
13+
let \"ExternalWithTypeVariables$V4C" = V4C.make and \"ExternalWithTypeVariables$V4C$jsx" = true

tests/syntax_tests/data/ppx/react/expected/mangleKeyword.res.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ module C4A1 = {
2828
let c4a0 = React.jsx(@res.jsxComponentPath C4A0.make, {_open: "x", _type: "t"})
2929
let c4a1 = React.jsx(@res.jsxComponentPath C4A1.make, {_open: "x", _type: "t"})
3030
let \"MangleKeyword$C4A0" = C4A0.make and \"MangleKeyword$C4A0$jsx" = true
31+
let \"MangleKeyword$C4A1" = C4A1.make and \"MangleKeyword$C4A1$jsx" = true

tests/syntax_tests/data/ppx/react/expected/noPropsWithKey.res.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ module V4C = {
4141
}
4242
}
4343
let \"NoPropsWithKey$V4CA" = V4CA.make and \"NoPropsWithKey$V4CA$jsx" = true
44+
let \"NoPropsWithKey$V4CB" = V4CB.make and \"NoPropsWithKey$V4CB$jsx" = true
4445
let \"NoPropsWithKey$V4C" = V4C.make and \"NoPropsWithKey$V4C$jsx" = true

tests/syntax_tests/data/ppx/react/expected/sharedProps.res.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ let \"SharedProps$V4A1" = V4A1.make and \"SharedProps$V4A1$jsx" = true
7171
let \"SharedProps$V4A2" = V4A2.make and \"SharedProps$V4A2$jsx" = true
7272
let \"SharedProps$V4A3" = V4A3.make and \"SharedProps$V4A3$jsx" = true
7373
let \"SharedProps$V4A4" = V4A4.make and \"SharedProps$V4A4$jsx" = true
74+
let \"SharedProps$V4A5" = V4A5.make and \"SharedProps$V4A5$jsx" = true
75+
let \"SharedProps$V4A6" = V4A6.make and \"SharedProps$V4A6$jsx" = true
76+
let \"SharedProps$V4A7" = V4A7.make and \"SharedProps$V4A7$jsx" = true
77+
let \"SharedProps$V4A8" = V4A8.make and \"SharedProps$V4A8$jsx" = true

tests/syntax_tests/data/ppx/react/expected/v4.res.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ module Rec2 = {
116116
}
117117
and mm = x => make(x)
118118
}
119+
let \"V4$E" = E.make and \"V4$E$jsx" = true
120+
let \"V4$EUncurried" = EUncurried.make and \"V4$EUncurried$jsx" = true
119121
let \"V4$Rec" = Rec.make and \"V4$Rec$jsx" = true
120122
let \"V4$Rec1" = Rec1.make and \"V4$Rec1$jsx" = true
121123
let \"V4$Rec2" = Rec2.make and \"V4$Rec2$jsx" = true

0 commit comments

Comments
 (0)