From 77d3cf44ab9d0d67847d711dd24abbf32f8e2edc Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 20 Jul 2020 13:29:00 +0300 Subject: [PATCH] [wasm] System.CodeDom.Tests test suite --- .../tests/System/CodeDom/Compiler/CompilerResultsTests.cs | 2 +- src/libraries/tests.proj | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libraries/System.CodeDom/tests/System/CodeDom/Compiler/CompilerResultsTests.cs b/src/libraries/System.CodeDom/tests/System/CodeDom/Compiler/CompilerResultsTests.cs index a88143c34b5540..71158faaa22c3c 100644 --- a/src/libraries/System.CodeDom/tests/System/CodeDom/Compiler/CompilerResultsTests.cs +++ b/src/libraries/System.CodeDom/tests/System/CodeDom/Compiler/CompilerResultsTests.cs @@ -31,7 +31,7 @@ public void Ctor_TempFileCollection(TempFileCollection tempFiles) [Fact] public void CompiledAssembly_GetWithPathToAssemblySet_ReturnsExpectedAssembly() { - var results = new CompilerResults(null) { PathToAssembly = typeof(CompilerResultsTests).Assembly.Location }; + var results = new CompilerResults(null) { PathToAssembly = (PlatformDetection.IsBrowser ? "/" : string.Empty) + typeof(CompilerResultsTests).Assembly.Location }; Assert.NotNull(results.CompiledAssembly); Assert.Equal(typeof(CompilerResultsTests).Assembly.FullName, results.CompiledAssembly.FullName); diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index b11eb01f25d850..0473fc620c0c9e 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -22,7 +22,6 @@ -