correction

master
Charles Iliya Krempeaux 2023-11-02 08:21:26 -07:00
parent 0a9641db89
commit 2a45189c82
3 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ import "sourcecode.social/reiver/go-nul"
//
var op nul.Optional[string] // the default value is nothing.
var op nul.Nullable[string] // the default value is nothing.
// ...

View File

@ -6,7 +6,7 @@ import (
"sourcecode.social/reiver/go-nul"
)
func TestOptional_Filter_int(t *testing.T) {
func TestNullable_Filter_int(t *testing.T) {
tests := []struct{
Nullable nul.Nullable[int]

View File

@ -6,7 +6,7 @@ import (
"sourcecode.social/reiver/go-nul"
)
func TestOptional_Get_string(t *testing.T) {
func TestNullable_Get_string(t *testing.T) {
tests := []struct{
Nullable nul.Nullable[string]
@ -77,7 +77,7 @@ func TestOptional_Get_string(t *testing.T) {
}
}
func TestOptional_Get_int8(t *testing.T) {
func TestNullable_Get_int8(t *testing.T) {
tests := []struct{
Nullable nul.Nullable[int8]
@ -303,7 +303,7 @@ func TestOptional_Get_int8(t *testing.T) {
}
}
func TestOptional_Get_uint8(t *testing.T) {
func TestNullable_Get_uint8(t *testing.T) {
tests := []struct{
Nullable nul.Nullable[uint8]