mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 19:17:09 +03:00
Incorrect spec added
This commit is contained in:
parent
2ecaf27596
commit
010a02f89e
@ -237,11 +237,11 @@ describe('StyleManager', () => {
|
||||
|
||||
it('recognizes valid less variables: left side', () => {
|
||||
let upgradedSheet = mathStyleManager.upgradeDeprecatedMathUsageForStyleSheet(
|
||||
"p { padding: 12px + padding; }",
|
||||
"p { padding: 12px + @size; }",
|
||||
{}
|
||||
);
|
||||
expect(upgradedSheet.source).toEqual(
|
||||
"p { padding: calc(12px + padding); }"
|
||||
"p { padding: calc(12px + @size); }"
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user