Skip to content

Commit

Permalink
test: correct test cases (#1845)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing committed Nov 4, 2022
1 parent 98c87b7 commit 8d610c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/__snapshots__/preset-mini.test.ts.snap
Expand Up @@ -213,6 +213,8 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.border-size-2{border-width:2px;}
.border-size-none{border-width:0px;}
.border-size-unset{border-width:unset;}
.border-width-\\\\[2em\\\\]{border-width:2em;}
.border-width-\\\\[calc\\\\(1em-1px\\\\)\\\\]{border-width:calc(1em - 1px);}
.border-width-3{border-width:3px;}
.border-x-size-2{border-left-width:2px;border-right-width:2px;}
.border-x-width-3{border-left-width:3px;border-right-width:3px;}
Expand All @@ -221,8 +223,6 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.border-t-width-3{border-top-width:3px;}
.b-block-size-\\\\$variable{border-block-start-width:var(--variable);border-block-end-width:var(--variable);}
.border-\\\\[\\\\#124\\\\]{--un-border-opacity:1;border-color:rgba(17,34,68,var(--un-border-opacity));}
.border-\\\\[2em\\\\]{border-color:2em;}
.border-\\\\[calc\\\\(1em-1px\\\\)\\\\]{border-color:calc(1em - 1px);}
.border-\\\\[var\\\\(--color\\\\)\\\\],
.border-\\\\$color{border-color:var(--color);}
.border-black\\\\/10{border-color:rgba(0,0,0,0.1);}
Expand Down
4 changes: 2 additions & 2 deletions test/assets/preset-mini-targets.ts
Expand Up @@ -66,6 +66,8 @@ export const presetMiniTargets: string[] = [
'border-x-size-2',
'border-t-size-2',
'border-width-3',
'border-width-[2em]',
'border-width-[calc(1em-1px)]',
'border-size-unset',
'border-x-width-3',
'border-t-width-3',
Expand Down Expand Up @@ -114,8 +116,6 @@ export const presetMiniTargets: string[] = [

// border - color
'border-[#124]',
'border-[2em]',
'border-[calc(1em-1px)]',
'border-black/10',
'border-blue',
'border-red-100',
Expand Down

0 comments on commit 8d610c6

Please sign in to comment.