diff options
Diffstat (limited to 'option')
| -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) { |
