aboutsummaryrefslogtreecommitdiffstats
path: root/modules/optional/option_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/optional/option_test.go')
-rw-r--r--modules/optional/option_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/optional/option_test.go b/modules/optional/option_test.go
index 4f55608004..203e9221e3 100644
--- a/modules/optional/option_test.go
+++ b/modules/optional/option_test.go
@@ -22,7 +22,7 @@ func TestOption(t *testing.T) {
assert.Equal(t, int(0), none.Value())
assert.Equal(t, int(1), none.ValueOrDefault(1))
- some := optional.Some[int](1)
+ some := optional.Some(1)
assert.True(t, some.Has())
assert.Equal(t, int(1), some.Value())
assert.Equal(t, int(1), some.ValueOrDefault(2))