Files
proto/p/state/empty_iterator_test.go
2026-01-10 01:59:02 -08:00

21 lines
399 B
Go

// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package state
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestEmptyIterator(t *testing.T) {
require := require.New(t)
require.False(EmptyIterator.Next())
EmptyIterator.Release()
require.False(EmptyIterator.Next())
require.Nil(EmptyIterator.Value())
}