Skip to content

Commit f35fb03

Browse files
committed
remove unnecessary ptrs import
1 parent d5bdaa7 commit f35fb03

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

mpd/mpd_test.go

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"encoding/base64"
55
"testing"
66

7-
"github.com/zencoder/go-dash/helpers/ptrs"
87
. "github.com/zencoder/go-dash/helpers/ptrs"
98
"github.com/zencoder/go-dash/helpers/require"
109
"github.com/zencoder/go-dash/helpers/testfixtures"
@@ -490,12 +489,12 @@ func TestAddNewAccessibilityElement(t *testing.T) {
490489

491490
func TestLocationWriteToString(t *testing.T) {
492491
m := &MPD{
493-
XMLNs: ptrs.Strptr("urn:mpeg:dash:schema:mpd:2011"),
494-
Profiles: ptrs.Strptr((string)(DASH_PROFILE_LIVE)),
495-
Type: ptrs.Strptr("dynamic"),
496-
AvailabilityStartTime: ptrs.Strptr(VALID_AVAILABILITY_START_TIME),
497-
MinimumUpdatePeriod: ptrs.Strptr(VALID_MINIMUM_UPDATE_PERIOD),
498-
PublishTime: ptrs.Strptr(VALID_AVAILABILITY_START_TIME),
492+
XMLNs: Strptr("urn:mpeg:dash:schema:mpd:2011"),
493+
Profiles: Strptr((string)(DASH_PROFILE_LIVE)),
494+
Type: Strptr("dynamic"),
495+
AvailabilityStartTime: Strptr(VALID_AVAILABILITY_START_TIME),
496+
MinimumUpdatePeriod: Strptr(VALID_MINIMUM_UPDATE_PERIOD),
497+
PublishTime: Strptr(VALID_AVAILABILITY_START_TIME),
499498
Location: VALID_LOCATION,
500499
}
501500

0 commit comments

Comments
 (0)