mirror of
https://github.com/IBM/fp-go.git
synced 2025-06-17 00:07:49 +02:00
13 lines
177 B
Go
13 lines
177 B
Go
![]() |
package string
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestEmpty(t *testing.T) {
|
||
|
assert.True(t, IsEmpty(""))
|
||
|
assert.False(t, IsEmpty("Carsten"))
|
||
|
}
|