diff --git a/YantraJS.Core.Tests/ClrObjects/DisposableTests.cs b/YantraJS.Core.Tests/ClrObjects/DisposableTests.cs index 1fb5c9e4..7cd54cd9 100644 --- a/YantraJS.Core.Tests/ClrObjects/DisposableTests.cs +++ b/YantraJS.Core.Tests/ClrObjects/DisposableTests.cs @@ -80,6 +80,7 @@ public void FieldAccess() JSValue guidTypeValue = ClrType.From(typeof(Guid)); c["guid"] = guidTypeValue; string result = c.Eval("guid.empty.toString()").ToString(); + Assert.AreEqual("00000000-0000-0000-0000-000000000000", result); } // [TestMethod] diff --git a/YantraJS.Core/Core/Clr/ClrType.cs b/YantraJS.Core/Core/Clr/ClrType.cs index 87baac57..401fbdfc 100644 --- a/YantraJS.Core/Core/Clr/ClrType.cs +++ b/YantraJS.Core/Core/Clr/ClrType.cs @@ -19,6 +19,7 @@ using System.ComponentModel; using YantraJS.Expressions; using YantraJS.Generator; +using YantraJS.Core.Core.Clr; namespace YantraJS.Core.Clr {