diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-06-17 23:23:52 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-06-17 23:23:52 +0200 |
| commit | b95ec7449ebec844221f80ecbf7976f3af878eee (patch) | |
| tree | d8f612b04db980fb878efd0aabb3fe2ba6d3113f /option/option_test.go | |
| parent | c6b1e6cd164067f623ecd0b1208a73214ea1a0d6 (diff) | |
| download | go-gg-b95ec7449ebec844221f80ecbf7976f3af878eee.tar.gz | |
raise minimum Go version to 1.26
Diffstat (limited to 'option/option_test.go')
| -rw-r--r-- | option/option_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
