go-pathmatch/pattern_test.go

17 lines
244 B
Go
Raw Normal View History

2019-06-21 04:46:52 +00:00
package pathmatch
import (
"testing"
)
func TestInternalPatternAsPattern(t *testing.T) {
var datum Pattern = new(internalPattern) // THIS IS WHAT ACTUALLY MATTERS.
if nil == datum {
t.Errorf("This should never happen.")
return
}
}