From 51fd586b4d2f851889aef05f0e525fe7c2b47561 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Tue, 15 Aug 2023 16:32:33 +0900 Subject: [PATCH] Add tests --- Assets/VRM10/Tests/ExpressionKeyTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/VRM10/Tests/ExpressionKeyTests.cs b/Assets/VRM10/Tests/ExpressionKeyTests.cs index f01ca9cfa..ea7491ea4 100644 --- a/Assets/VRM10/Tests/ExpressionKeyTests.cs +++ b/Assets/VRM10/Tests/ExpressionKeyTests.cs @@ -9,8 +9,7 @@ namespace UniVRM10.Test { Assert.Catch(() => ExpressionKey.CreateCustom("")); Assert.Catch(() => ExpressionKey.CreateCustom(null)); - - ExpressionKey.CreateCustom("a"); + Assert.Catch(() => ExpressionKey.CreateFromPreset(ExpressionPreset.custom)); } [Test]