From 213eb4624d4fcfd2535cce2ddb89b0910a732cb9 Mon Sep 17 00:00:00 2001 From: ma3315865 Date: Sat, 14 Dec 2024 12:36:33 +0800 Subject: [PATCH] Program and Discard --- program_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/program_test.go b/program_test.go index fb33bbc..6c792b7 100644 --- a/program_test.go +++ b/program_test.go @@ -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)