GoDoxy/internal/utils/trie/any_test.go
2025-04-24 05:56:03 +08:00

16 lines
200 B
Go

package trie
import (
"testing"
)
func TestStoreNil(t *testing.T) {
var v AnyValue
v.Store(nil)
if v.Load() != nil {
t.Fatal("expected nil")
}
if v.IsNil() {
t.Fatal("expected true")
}
}