From d28688e9b866a1ab45b8b7bc19e0f21cf1df421b Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 5 Dec 2022 14:53:43 +0900 Subject: [PATCH] fix typo. pp --- Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs | 8 ++++---- Assets/UniGLTF/Tests/UniGLTF/UniGLTFTests.cs | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs index bb0b358da..ec853fb0b 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs @@ -152,10 +152,10 @@ namespace UniGLTF { get { - if (string.IsNullOrEmpty(Value)) return PathType.Unsuported; + if (string.IsNullOrEmpty(Value)) return PathType.Unsupported; var directory = Path.GetDirectoryName(Value); - if (string.IsNullOrEmpty(directory)) return PathType.Unsuported; + if (string.IsNullOrEmpty(directory)) return PathType.Unsupported; var rootDirectoryName = directory.Split(Path.DirectorySeparatorChar); @@ -166,7 +166,7 @@ namespace UniGLTF case "Packages": return PathType.Packages; default: - return PathType.Unsuported; + return PathType.Unsupported; } } } @@ -535,6 +535,6 @@ namespace UniGLTF { Assets, Packages, - Unsuported, + Unsupported, } } diff --git a/Assets/UniGLTF/Tests/UniGLTF/UniGLTFTests.cs b/Assets/UniGLTF/Tests/UniGLTF/UniGLTFTests.cs index 98b7699a9..fda33ec4b 100644 --- a/Assets/UniGLTF/Tests/UniGLTF/UniGLTFTests.cs +++ b/Assets/UniGLTF/Tests/UniGLTF/UniGLTFTests.cs @@ -218,10 +218,10 @@ namespace UniGLTF [Test] [Category("UnityPath")] - [TestCase("", PathType.Unsuported)] - [TestCase("Assets", PathType.Unsuported)] + [TestCase("", PathType.Unsupported)] + [TestCase("Assets", PathType.Unsupported)] [TestCase("Assets/何らかの/パス", PathType.Assets)] - [TestCase("Packages", PathType.Unsuported)] + [TestCase("Packages", PathType.Unsupported)] [TestCase("Packages/ローカルパッケージ", PathType.Packages)] public void UnityPathPathType(string path, PathType pathType) {