-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move fixtures' expected outputs to the fixture directories (#298)
* Move fixtures' expected outputs to the fixture directories This makes them easier to diff with conventional tools. * Tweak code a bit --------- Co-authored-by: Jordan Pittman <[email protected]>
- Loading branch information
1 parent
031e5f1
commit f101793
Showing
12 changed files
with
68 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="bg-red-500 sm:bg-tomato"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="bg-red-500 sm:bg-hotpink"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const a = sortMeFn("p-2 sm:p-1"); | ||
const b = sortMeFn({ | ||
foo: "p-2 sm:p-1", | ||
}); | ||
|
||
const c = dontSortFn("sm:p-1 p-2"); | ||
const d = sortMeTemplate`p-2 sm:p-1`; | ||
const e = dontSortMeTemplate`sm:p-1 p-2`; | ||
const f = tw.foo`p-2 sm:p-1`; | ||
const g = tw.foo.bar`p-2 sm:p-1`; | ||
const h = no.foo`sm:p-1 p-2`; | ||
const i = no.tw`sm:p-1 p-2`; | ||
const k = tw.foo("p-2 sm:p-1"); | ||
const l = tw.foo.bar("p-2 sm:p-1"); | ||
const m = no.foo("sm:p-1 p-2"); | ||
const n = no.tw("sm:p-1 p-2"); | ||
|
||
const A = (props) => <div className={props.sortMe} />; | ||
const B = () => <A sortMe="p-2 sm:p-1" dontSort="sm:p-1 p-2" />; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script setup> | ||
let a = sortMeFn("p-2 sm:p-1"); | ||
let b = sortMeFn({ "p-2 sm:p-1": true }); | ||
let c = dontSortFn("sm:p-1 p-2"); | ||
let d = sortMeTemplate`p-2 sm:p-1`; | ||
let e = dontSortMeTemplate`sm:p-1 p-2`; | ||
</script> | ||
<template> | ||
<div class="p-2 sm:p-1" sortMe="p-2 sm:p-1" dontSortMe="sm:p-1 p-2"></div> | ||
<div :class="{ 'p-2 sm:p-1': true }"></div> | ||
<div :sortMe="{ 'p-2 sm:p-1': true }"></div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="bg-red-500 sm:bg-hotpink"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="bg-red-500 sm:bg-hotpink"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="bg-red-500 sm:bg-tomato"></div> |