Skip to content

Commit b26ad51

Browse files
Fix broken tests.
1 parent 3ce59c2 commit b26ad51

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/monotouch-test/AudioToolbox/AudioComponentTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ public void GetSetComponentList ()
3131
var types = new List<AudioTypeOutput> { AudioTypeOutput.Generic, AudioTypeOutput.Remote, AudioTypeOutput.VoiceProcessingIO };
3232
foreach (var t in types) {
3333
var resources = new ResourceUsageInfo ();
34-
resources.IOKitUserClient = new NSString[] { new NSString ("CustomUserClient1")};
35-
resources.MachLookUpGlobalName = new NSString[] { new NSString ("MachServiceName1")};
34+
resources.IOKitUserClient = new string[] { "CustomUserClient1" };
35+
resources.MachLookUpGlobalName = new string[] { "MachServiceName1" };
3636
resources.NetworkClient = false;
3737
resources.TemporaryExceptionReadWrite = false;
3838

3939
var componentInfo = new AudioComponentInfo ();
4040
componentInfo.Type = t.ToString ();
41-
componentInfo.Subtype = new NSString ("XMPL");
42-
componentInfo.Name = new NSString ("XMPL");
41+
componentInfo.Subtype = "XMPL";
42+
componentInfo.Name = "XMPL";
4343
componentInfo.Version = 1;
4444
componentInfo.ResourceUsage = resources;
4545
var component = AudioComponent.FindComponent (t);

0 commit comments

Comments
 (0)