Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
RealA10N committed Aug 10, 2024
1 parent 62a0a6c commit db5885a
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions parse/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,23 @@ func TestSingleFunction(t *testing.T) {
{srcView.Subview(9, 12)},
},
},
Instructions: []parse.InstructionNode{
{
Operator: srcView.Subview(42, 45),
Arguments: []parse.ArgumentNode{
parse.RegisterNode{srcView.Subview(46, 48)},
parse.RegisterNode{srcView.Subview(49, 51)},
},
Targets: []parse.RegisterNode{
{srcView.Subview(35, 39)},
Instructions: parse.BlockNode[parse.InstructionNode]{
[]parse.InstructionNode{
{
Operator: srcView.Subview(42, 45),
Arguments: []parse.ArgumentNode{
parse.RegisterNode{srcView.Subview(46, 48)},
parse.RegisterNode{srcView.Subview(49, 51)},
},
Targets: []parse.RegisterNode{
{srcView.Subview(35, 39)},
},
},
},
{
Operator: srcView.Subview(53, 56),
Arguments: []parse.ArgumentNode{
parse.RegisterNode{srcView.Subview(57, 61)},
{
Operator: srcView.Subview(53, 56),
Arguments: []parse.ArgumentNode{
parse.RegisterNode{srcView.Subview(57, 61)},
},
},
},
},
Expand Down

0 comments on commit db5885a

Please sign in to comment.