From 873ddce15876d6c0a05e06ec52467567ae676689 Mon Sep 17 00:00:00 2001 From: Gary hunt Date: Mon, 19 Jun 2023 21:41:51 +0100 Subject: [PATCH] The SCSS compile Scss test is failing due to a change of URL... assuming the code produces the right result then this patch fixes the test to include the ../ prefix --- src/WebCompilerTest/Compile/ScssTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebCompilerTest/Compile/ScssTest.cs b/src/WebCompilerTest/Compile/ScssTest.cs index b6b5c8cf..add7abe0 100644 --- a/src/WebCompilerTest/Compile/ScssTest.cs +++ b/src/WebCompilerTest/Compile/ScssTest.cs @@ -35,7 +35,7 @@ public void CompileScss() var first = result.First(); Assert.IsTrue(File.Exists("../../artifacts/scss/test.css")); Assert.IsTrue(first.CompiledContent.Contains("/*# sourceMappingURL=data:")); - Assert.IsTrue(result.ElementAt(1).CompiledContent.Contains("url(foo.png)")); + Assert.IsTrue(result.ElementAt(1).CompiledContent.Contains("url(../foo.png)")); Assert.IsTrue(result.ElementAt(1).CompiledContent.Contains("-webkit-animation"), "AutoPrefix"); string sourceMap = DecodeSourceMap(first.CompiledContent);