Files
go2rtc/pkg/rtsp/rtsp_test.go
T
2023-01-23 21:14:52 +03:00

13 lines
215 B
Go

package rtsp
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestURLParse(t *testing.T) {
base := "rtsp://::ffff:192.168.1.123/onvif/profile.1/"
_, err := urlParse(base)
assert.Empty(t, err)
}