Skip to content

Commit c25f068

Browse files
authored
FIX: clean up after the XRI package test (#1892)
ISX-1909
1 parent 6fa89e0 commit c25f068

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

Assets/Tests/InputSystem.Editor/XRIPackageTest.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ public IEnumerator TearDown()
2828
{
2929
yield return null;
3030
}
31+
32+
//Delete the Assets/XRI folder (and its content) that the XRI package creates
33+
if (AssetDatabase.IsValidFolder("Assets/XRI"))
34+
{
35+
AssetDatabase.DeleteAsset("Assets/XRI");
36+
}
3137
}
3238

3339
[UnityTest]

Assets/Tests/InputSystem.Editor/XRIPackageTest.cs.meta

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)