correction
parent
0a9641db89
commit
2a45189c82
|
@ -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.
|
||||
|
||||
// ...
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue