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
Fix false negatives for isStandardSyntaxDeclaration
#3933
Conversation
9ff574b
to
43f695c
Compare
43f695c
to
d9f6d68
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you!
}); | ||
it("url with less interpolation at the end without quotes", () => { | ||
expect(isStandardSyntaxUrl("some/@{less-variable}")).toBeTruthy(); | ||
expect(isStandardSyntaxUrl("some/@{less-variable}")).toBeFalsy(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a regression
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, it's a bug fix. Interpolation makes URL non-standard. There are tests for Sass interpolation and they all negative.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
Closes #3930
No, it's self explanatory.