|  | 
| 4 | 4 | 	"encoding/base64" | 
| 5 | 5 | 	"testing" | 
| 6 | 6 | 
 | 
| 7 |  | -	"github.com/zencoder/go-dash/helpers/ptrs" | 
| 8 | 7 | 	. "github.com/zencoder/go-dash/helpers/ptrs" | 
| 9 | 8 | 	"github.com/zencoder/go-dash/helpers/require" | 
| 10 | 9 | 	"github.com/zencoder/go-dash/helpers/testfixtures" | 
| @@ -490,12 +489,12 @@ func TestAddNewAccessibilityElement(t *testing.T) { | 
| 490 | 489 | 
 | 
| 491 | 490 | func TestLocationWriteToString(t *testing.T) { | 
| 492 | 491 | 	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), | 
| 499 | 498 | 		Location: VALID_LOCATION, | 
| 500 | 499 | 	} | 
| 501 | 500 | 
 | 
|  | 
0 commit comments