* Module name changed to `github.com/rajch/weave` * Added environment variable `CHECKPOINT_DISABLE=1` to default manifests, to bypass weaveworks telemetry
18 lines
301 B
Go
18 lines
301 B
Go
package npc
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestRegressionHandleNil3095(t *testing.T) {
|
|
// Test for handling nil values
|
|
// https://github.com/rajch/weave/issues/3095
|
|
|
|
rs := newRuleSpec(policyTypeIngress, nil, nil, nil, nil)
|
|
|
|
require.NotEqual(t, rs.key, "")
|
|
|
|
}
|