Skip to content

Commit 8873039

Browse files
committed
chore: fix cases for conditional expression
1 parent 9b6df57 commit 8873039

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/tlb-runtime/tesdata.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,7 @@ export const groupCorpus: TLBCorpus = {
715715
'_ a:(## 1) b:a?(## 32) = ConditionalField;',
716716
[
717717
[{ kind: 'ConditionalField', a: 1, b: 5 }, 'b5ee9c7241010101000700000980000002c098d97633'],
718-
[{ kind: 'ConditionalField', a: 0, b: 5 }, 'b5ee9c7241010101000700000900000002c0c40cd45d'],
719-
[{ kind: 'ConditionalField', a: 0, b: undefined }, 'b5ee9c7241010101000300000140f6d24034'],
718+
[{ kind: 'ConditionalField', a: 0 }, 'b5ee9c7241010101000300000140f6d24034'],
720719
],
721720
],
722721
[
@@ -727,13 +726,13 @@ export const groupCorpus: TLBCorpus = {
727726
],
728727
],
729728
[
730-
'tmpa$_ a:# b:# = Simple;a$_ x:(## 1) y:x?^Simple = ConditionalRef;',
729+
'_ a:# b:# = Simple; _ x:(## 1) y:x?^Simple = ConditionalRef;',
731730
[
732731
[
733732
{ kind: 'ConditionalRef', x: 1, y: { kind: 'Simple', a: 3, b: 4 } },
734733
'b5ee9c7241010201000e000101c0010010000000030000000434fa1906',
735734
],
736-
[{ kind: 'ConditionalRef', x: 0, y: undefined }, 'b5ee9c7241010101000300000140f6d24034'],
735+
[{ kind: 'ConditionalRef', x: 0 }, 'b5ee9c7241010101000300000140f6d24034'],
737736
],
738737
],
739738
[

0 commit comments

Comments
 (0)