Skip to content

Commit 1bb1a8c

Browse files
committed
fix tests
1 parent a42f871 commit 1bb1a8c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

polaris-migrator/src/migrations/replace-sass-z-index/tests/replace-sass-z-index.output.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ $someElement: (
33
);
44

55
.scenario-1 {
6-
/* polaris-migrator: This is a complex expression that we can't automatically convert. Please check this manually. */
6+
/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */
77
/* z-index: var(--p-z-1) + 1; */
88
z-index: z-index(content) + 1;
99
background-color: var(--p-background);
1010
}
1111

1212
.scenario-2 {
13-
/* polaris-migrator: This is a complex expression that we can't automatically convert. Please check this manually. */
13+
/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */
1414
/* z-index: var(--p-z-2) + 1; */
1515
z-index: z-index(overlay) + 1;
1616
background-color: var(--p-background);
@@ -27,14 +27,14 @@ $someElement: (
2727
}
2828

2929
.scenario-5 {
30-
/* polaris-migrator: This is a complex expression that we can't automatically convert. Please check this manually. */
30+
/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */
3131
/* z-index: map-get($someElement, someKey); */
3232
z-index: z-index(someKey, $someElement);
3333
background-color: var(--p-background);
3434
}
3535

3636
.scenario-6 {
37-
/* polaris-migrator: This is a complex expression that we can't automatically convert. Please check this manually. */
37+
/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */
3838
/* z-index: calc(var(--p-z-2) + var(--p-z-1)); */
3939
z-index: calc(z-index(overlay) + z-index(content));
4040
}

polaris-migrator/src/migrations/replace-sass-z-index/tests/with-namespace.output.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ $someElement: (
44
);
55

66
.scenario-1 {
7-
/* polaris-migrator: This is a complex expression that we can't automatically convert. Please check this manually. */
7+
/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */
88
/* z-index: var(--p-z-1) + 1; */
99
z-index: legacy-polaris-v8.z-index(content) + 1;
1010
background-color: var(--p-background);
1111
}
1212

1313
.scenario-2 {
14-
/* polaris-migrator: This is a complex expression that we can't automatically convert. Please check this manually. */
14+
/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */
1515
/* z-index: var(--p-z-2) + 1; */
1616
z-index: legacy-polaris-v8.z-index(overlay) + 1;
1717
background-color: var(--p-background);
@@ -28,14 +28,14 @@ $someElement: (
2828
}
2929

3030
.scenario-5 {
31-
/* polaris-migrator: This is a complex expression that we can't automatically convert. Please check this manually. */
31+
/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */
3232
/* z-index: map-get($someElement, someKey); */
3333
z-index: legacy-polaris-v8.z-index(someKey, $someElement);
3434
background-color: var(--p-background);
3535
}
3636

3737
.scenario-6 {
38-
/* polaris-migrator: This is a complex expression that we can't automatically convert. Please check this manually. */
38+
/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */
3939
/* z-index: calc(
4040
var(--p-z-2) + var(--p-z-1)
4141
); */

0 commit comments

Comments
 (0)