Skip to content

Commit

Permalink
Program and Discard
Browse files Browse the repository at this point in the history
  • Loading branch information
oldma3095 committed Dec 14, 2024
1 parent 64a05c0 commit 213eb46
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions program_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ func TestProgram(t *testing.T) {
require.Equal(t, 1, p.ID())
p.SetID(2)
require.Equal(t, 2, p.ID())
p.SetFlags(1)
require.Equal(t, 1, p.Flags())
require.Equal(t, 0, p.Flags())
p.SetDiscard(DiscardAll)
require.Equal(t, DiscardAll, p.Discard())
require.Nil(t, p.StreamIndex(), nil)
Expand Down

0 comments on commit 213eb46

Please sign in to comment.