mirror of
https://github.com/IBM/fp-go.git
synced 2025-06-17 00:07:49 +02:00
initial checkin
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
12
string/string_test.go
Normal file
12
string/string_test.go
Normal file
@ -0,0 +1,12 @@
|
||||
package string
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestEmpty(t *testing.T) {
|
||||
assert.True(t, IsEmpty(""))
|
||||
assert.False(t, IsEmpty("Carsten"))
|
||||
}
|
Reference in New Issue
Block a user