Skip to content

Commit

Permalink
Remove old string.Format Assert
Browse files Browse the repository at this point in the history
  • Loading branch information
James A Sutherland committed Dec 4, 2023
1 parent 4aa9660 commit 0143ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BadMedicine.Dicom.Tests/DicomDataGeneratorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void Test_CreatingInMemory_Modality_CTAndMR()
var ds = generator.GenerateTestDataset(person, r);
var modality = ds.GetSingleValue<string>(DicomTag.Modality);

Assert.That(modality is "CT" or "MR","Unexpected modality {0}",modality);
Assert.That(modality is "CT" or "MR",$"Unexpected modality {modality}");
}
}

Expand Down

0 comments on commit 0143ea5

Please sign in to comment.