Bump precision of evaluated calc expressions #260
Annotations
24 errors
Run Tests - Node v22 / namespace-profile-macos-arm64
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v24 / namespace-profile-macos-arm64
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v18 / namespace-profile-macos-arm64
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v22 / namespace-profile-default
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v20 / namespace-profile-macos-arm64
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v24 / namespace-profile-default
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v20 / namespace-profile-default
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v18 / namespace-profile-default
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v22 / namespace-profile-windows-amd64
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v20 / namespace-profile-windows-amd64
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v18 / namespace-profile-windows-amd64
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|
Run Tests - Node v24 / namespace-profile-windows-amd64
Process completed with exit code 1.
|
tests/completions/completions.test.js > v4/basic > Completions have customizable pixel equivalents (1rem == 10px):
packages/tailwindcss-language-server/tests/completions/completions.test.js#L592
AssertionError: expected { label: 'text-sm', kind: 21, …(5) } to deeply equal { label: 'text-sm', kind: 21, …(5) }
- Expected
+ Received
@@ -7,11 +7,11 @@
"documentation": {
"kind": "markdown",
"value": "```css
.text-sm {
font-size: var(--text-sm) /* 0.875rem = 8.75px */;
- line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.4286 */);
+ line-height: var(--tw-leading, var(--text-sm--line-height) /* calc(1.25 / 0.875) ≈ 1.428571 */);
}
```",
},
"kind": 21,
"label": "text-sm",
❯ tests/completions/completions.test.js:592:22
|