diff --git a/state.go b/state.go index ba37972d..43687603 100644 --- a/state.go +++ b/state.go @@ -319,4 +319,4 @@ func (s *State) GetComplex128(key string) (complex128, bool) { } } return 0, false -} \ No newline at end of file +} diff --git a/state_test.go b/state_test.go index 7e41cf52..9cc3dfc8 100644 --- a/state_test.go +++ b/state_test.go @@ -320,7 +320,7 @@ func TestState_GetComplex64(t *testing.T) { t.Parallel() st := newState() - var c complex64 = complex(2, 3) + var c = complex(2, 3) st.Set("complex64", c) cRes, ok := st.GetComplex64("complex64") require.True(t, ok) @@ -340,7 +340,7 @@ func TestState_GetComplex128(t *testing.T) { t.Parallel() st := newState() - var c complex128 = complex(4, 5) + var c = complex(4, 5) st.Set("complex128", c) cRes, ok := st.GetComplex128("complex128") require.True(t, ok)