Skip to content

Commit dd53aaa

Browse files
committed
adjust annotated tests with fix in place
1 parent f46c5e7 commit dd53aaa

File tree

2 files changed

+16
-19
lines changed

2 files changed

+16
-19
lines changed

crates/oxide/src/extractor/pre_processors/test-fixtures/haml/dst-17051.haml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/ https://github.com/tailwindlabs/tailwindcss/pull/17051#issuecomment-2711181352
2-
^^^^^^^^^^^^^^^^^^^^^^^
32
- star_styles = "size-[800px] mask mask-star bg-gradient-to-r from-secondary via-cyan-400 to-lime-400"
4-
^^^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^
3+
^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^
54
- crazy_text_styles = "italic font-black bg-gradient-to-r via-60% to-90% from-orange-500 via-secondary to-primary text-transparent bg-clip-text inline-block py-2"
65
^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^
76

@@ -67,7 +66,7 @@
6766
= succeed ',' do
6867
^^^^^^^ ^^
6968
= daisy_link("ViewComponent", "https://viewcomponent.org", target: "_blank")
70-
^^^^^^^^^^ ^^^ ^^^^^^
69+
^^^ ^^^^^^
7170
= succeed ', and' do
7271
^^^^^^^ ^^^ ^^
7372
= daisy_link "DaisyUI", "https://daisyui.com/", target: "_blank"
@@ -80,13 +79,13 @@
8079
^^^ ^^^^^^^ ^^ ^^
8180
8281
= doc_example(css: "mt-8 lg:mt-0 lg:basis-3/5 h-44") do
83-
^^^^^^^^^^^ ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^
82+
^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^
8483
.flex.flex-col.sm:flex-row.items-center.gap-4
8584
^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^
8685
= daisy_button "Accent Button", css: "btn-accent"
8786
^^^^^^^^^^^^ ^^^ ^^^^^^^^^^
8887
= daisy_tip("Click to Swap") do
89-
^^^^^^^^^ ^^ ^^
88+
^^ ^^
9089
= daisy_swap off: "🌚", on: "🌞", css: "swap-rotate text-4xl"
9190
^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^ ^^^^^^^^
9291
= daisy_badge "Large Badge", css: "badge-secondary badge-lg"
@@ -105,7 +104,7 @@
105104
^^^^
106105
Utlize
107106
= daisy_link("HAML", "https://haml.info/", target: "_blank")
108-
^^^^^^^^^^ ^^^^^^
107+
^^^^^^
109108
so your views are simple, concise, and easy to understand.
110109
^^ ^^^^ ^^^^^ ^^^ ^^^ ^^^^ ^^ ^^^^^^^^^^
111110
@@ -131,7 +130,7 @@
131130
.flex.flex-col.xl:flex.xl:flex-row.w-full
132131
^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^
133132
= doc_code(css: "grow", code_css: "xl:pl-2 xl:pr-0 xl:rounded-r-none", language: "erb") do
134-
^^^^^^^^ ^^^ ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^
133+
^^^ ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^
135134
:escaped
136135
<% # Ruby %>
137136
@@ -151,14 +150,14 @@
151150
^^^
152151
153152
= doc_code(css: "grow mt-8 xl:mt-0", pre_css: "xl:h-full", code_css: "xl:pl-0 xl:pr-2 xl:h-full xl:rounded-l-none") do
154-
^^^^^^^^ ^^^ ^^^^ ^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^
153+
^^^ ^^^^ ^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^
155154
:escaped
156155
- # HAML
157156
158157
- 5.times do |i|
159158
^^^^^ ^^
160159
- if i.even?
161-
^^ ^
160+
^^
162161
%p.odd Number \#{i}
163162
^^^ ^
164163
- else
@@ -182,7 +181,7 @@
182181
^^^^ ^^^^^^^ ^^^^^^^^^^^^
183182
%div
184183
= doc_code(language: "ruby") do
185-
^^^^^^^^ ^^^^^^^^ ^^^^ ^^
184+
^^^^^^^^ ^^^^ ^^
186185
:escaped
187186
# app/components/application_component.rb
188187
^^
@@ -194,25 +193,23 @@
194193
^^^
195194
196195
= doc_code(language: "haml", css: "mt-8") do
197-
^^^^^^^^ ^^^^^^^^ ^^^^ ^^^ ^^^^ ^^
196+
^^^^^^^^ ^^^^ ^^^ ^^^^ ^^
198197
:escaped
199198
- # app/components/character_component.html.haml
200-
^^^^ ^^^^
199+
^^^^
201200
= part(:component) do
202-
^^^^ ^^
201+
^^
203202
= part(:head)
204-
^^^^
205203
= part(:body) do
206-
^^^^ ^^
204+
^^
207205
= content
208206
^^^^^^^
209207
= part(:legs)
210-
^^^^
211208
212209
%div.mt-8.xl:mt-0
213210
^^^^ ^^^^^^^
214211
= doc_code(language: "ruby") do
215-
^^^^^^^^ ^^^^^^^^ ^^^^ ^^
212+
^^^^^^^^ ^^^^ ^^
216213
:escaped
217214
# app/components/character_component.rb
218215
^^

crates/oxide/src/extractor/pre_processors/test-fixtures/haml/dst-17813.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
- devices_classes = 'size-5 mr-2px'
33
^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^
44
- icon_classes = 'w-[12px] h-[12px]'
5-
^^^^^^^^^^^^
5+
^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^
66
!!!
77
%html{ lang: 'en' }
88
^^^^ ^^
@@ -23,7 +23,7 @@
2323
2424
%body
2525
- icon_classes = 'self-center w-[16px] h-[16px]'
26-
^^^^^^^^^^^^ ^^^^^^^^^^^
26+
^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^
2727
.flex{ class: icon_classes }
2828
^^^^ ^^^^^ ^^^^^^^^^^^^
2929
.flex{ class: devices_classes }

0 commit comments

Comments
 (0)