Skip to content

Commit

Permalink
Update write_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashkumar authored Sep 29, 2024
1 parent c024493 commit b7b9d26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions write_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -976,8 +976,8 @@ func MustNewValue(data interface{}) dicom.Value {

func ExampleIssue190(t *testing.T) {
dataset := Dataset{
Elements: []*dicom.Element{
&dicom.Element{
Elements: []*Element{
&Element{
Tag: tag.SmallestImagePixelValue,
ValueRepresentation: tag.VRUInt16List,
RawValueRepresentation: "US",
Expand All @@ -988,7 +988,7 @@ func ExampleIssue190(t *testing.T) {
}

buffer := new(bytes.Buffer)
err := Write(buffer, dataset, dicom.DefaultMissingTransferSyntax())
err := Write(buffer, dataset, DefaultMissingTransferSyntax())
if err != nil {
t.Errorf("unexpected error: %v", err)
}
Expand Down

0 comments on commit b7b9d26

Please sign in to comment.