Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test case for loud comments in file imported twice in a row #1790

Merged
merged 4 commits into from Jun 8, 2022
Merged

Conversation

Goodwine
Copy link
Member

@Goodwine Goodwine commented Jun 7, 2022

See sass/dart-sass#1713
[skip dart-sass]

@@ -83,7 +83,7 @@ export function compareResults(
return failures.MissingOutput();
} else if (expected.isSuccess) {
if (!actual.isSuccess) {
return failures.UnexpectedError();
return failures.UnexpectedError(actual.error);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW I should mention for context - if you look at the bug report the error is very cryptic and not easy to read at all, by adding this I found the error to be more useful

spec/css/comment.hrx Outdated Show resolved Hide resolved
@Goodwine Goodwine requested a review from nex3 June 8, 2022 20:25
@Goodwine Goodwine merged commit de163b0 into main Jun 8, 2022
@Goodwine Goodwine deleted the fix-1712 branch June 8, 2022 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants