From b95ec7449ebec844221f80ecbf7976f3af878eee Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 17 Jun 2026 23:23:52 +0200 Subject: raise minimum Go version to 1.26 --- option/option_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'option/option_test.go') diff --git a/option/option_test.go b/option/option_test.go index a5eb3ff..646108a 100644 --- a/option/option_test.go +++ b/option/option_test.go @@ -22,7 +22,7 @@ func TestZeroValue(t *testing.T) { func TestAsPointer(t *testing.T) { AssertEqual(t, None[int]().AsPointer(), nil) - AssertEqual(t, Some(42).AsPointer(), PointerTo(42)) + AssertEqual(t, Some(42).AsPointer(), new(42)) } func TestAsSlice(t *testing.T) { -- cgit v1.3.1