Skip to content

Commit 112366b

Browse files
committed
Ignore test that would fail on player
1 parent 3ed9766 commit 112366b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/APIExamples/Tests/Runtime/NUnit/CustomConstraintExample.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using NUnit.Framework;
55
using NUnit.Framework.Constraints;
66
using UnityEngine;
7+
using UnityEngine.TestTools;
78

89
// ReSharper disable AccessToStaticMemberViaDerivedType
910

@@ -34,6 +35,7 @@ public void CustomConstraint_Constraintの実装だけで可能な書きかた()
3435
}
3536

3637
[Test]
38+
[UnityPlatform(RuntimePlatform.OSXEditor, RuntimePlatform.WindowsEditor, RuntimePlatform.LinuxEditor)]
3739
public void CustomConstraint_Extensionsの実装も行なうと可能な書きかた()
3840
{
3941
var actual = CreateDestroyedObject();

0 commit comments

Comments
 (0)