Don't repeatedly add backslashes to escape sequences when formatting #323
Annotations
8 errors
|
build
Process completed with exit code 1.
|
|
tests/plugins.test.ts > parsing oxc-ts works with: @prettier/plugin-oxc:
tests/plugins.test.ts#L557
AssertionError: expected ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…' to deeply equal ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…'
- Expected
+ Received
- ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\2']"></div>
+ ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\\2']"></div>
❯ tests/plugins.test.ts:557:24
|
|
tests/plugins.test.ts > parsing oxc works with: @prettier/plugin-oxc:
tests/plugins.test.ts#L557
AssertionError: expected ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…' to deeply equal ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…'
- Expected
+ Received
- ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\2']"></div>
+ ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\\2']"></div>
❯ tests/plugins.test.ts:557:24
|
|
tests/plugins.test.ts > parsing hermes works with: @prettier/plugin-hermes:
tests/plugins.test.ts#L557
AssertionError: expected ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…' to deeply equal ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…'
- Expected
+ Received
- ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\2']"></div>
+ ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\\2']"></div>
❯ tests/plugins.test.ts:557:24
|
|
tests/format.test.ts > parsers > meriyah:
tests/format.test.ts#L9
AssertionError: expected ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…' to deeply equal ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…'
- Expected
+ Received
- ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\2']"></div>
+ ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\\2']"></div>
❯ tests/format.test.ts:9:61
|
|
tests/format.test.ts > parsers > acorn:
tests/format.test.ts#L9
AssertionError: expected ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…' to deeply equal ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…'
- Expected
+ Received
- ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\2']"></div>
+ ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\\2']"></div>
❯ tests/format.test.ts:9:61
|
|
tests/format.test.ts > parsers > flow:
tests/format.test.ts#L9
AssertionError: expected ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…' to deeply equal ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…'
- Expected
+ Received
- ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\2']"></div>
+ ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\\2']"></div>
❯ tests/format.test.ts:9:61
|
|
tests/format.test.ts > parsers > typescript:
tests/format.test.ts#L9
AssertionError: expected ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…' to deeply equal ';<div class="[&>.a\_p]:z-0 [&>.a\_p]:…'
- Expected
+ Received
- ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\2']"></div>
+ ;<div class="[&>.a\_p]:z-0 [&>.a\_p]:after:content-['\\2']"></div>
❯ tests/format.test.ts:9:61
|