mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-17 16:38:54 +00:00
17 lines
300 B
Go
17 lines
300 B
Go
package mlrval
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestNewMlrmapAsRecord(t *testing.T) {
|
|
mlrmap := newMlrmapUnhashed()
|
|
assert.Equal(t, false, mlrmap.isHashed())
|
|
}
|
|
|
|
func TestNewMlrmap(t *testing.T) {
|
|
mlrmap := NewMlrmap()
|
|
assert.Equal(t, true, mlrmap.isHashed())
|
|
}
|