Skip to content

Commit

Permalink
Copy Unicode PWD tests from sass-spec (sass#2855)
Browse files Browse the repository at this point in the history
As sass-spec is migrating to HRX, we need to copy this test here so we
can run it directly via `sassc` instead of the sass-spec runner.

Refs sass#2854
Refs sass/sass-spec#1365
  • Loading branch information
glebm authored and xzyfer committed Apr 5, 2019
1 parent 8e681e2 commit 28bbd0e
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ test_script:
echo "spec runner not found (compile error?)"
exit 1
}
Write-Host "Explicitly testing the case when cwd has Cyrillic characters: " -nonewline
Write-Host "Explicitly testing the case when cwd has Unicode characters: " -nonewline
# See comments in gh-1774 for details.
cd sass-spec/spec/libsass/Sáss-UŢF8/
cd test/e2e/unicode-pwd/Sáss-UŢF8/
&$env:TargetPath ./input.scss 2>&1>$null
if(-not($?)) {
echo "Failed!"
Expand Down
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ build/test_util_string: test_util_string.cpp ../src/util_string.cpp | build
clean: | build
rm -rf build

.PHONY: test test_shared_ptr clean
.PHONY: test test_shared_ptr test_util_string clean
3 changes: 3 additions & 0 deletions test/e2e/unicode-pwd/Sáss-UŢF8/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
span.utf8-in-path {
margin: auto;
}
3 changes: 3 additions & 0 deletions test/e2e/unicode-pwd/Sáss-UŢF8/output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
span.utf8-in-path {
margin: auto;
}
3 changes: 3 additions & 0 deletions test/e2e/unicode-pwd/Sáss-UŢF8/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
span.utf8-in-path {
margin: auto;
}
3 changes: 3 additions & 0 deletions test/e2e/unicode-pwd/Sáss-UŢF8/output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
span.utf8-in-path {
margin: auto;
}

0 comments on commit 28bbd0e

Please sign in to comment.