+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

fix(rome_js_syntax): pick trimmed text instead the raw text #3337

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

ematipico
Copy link
Contributor

Summary

This PR fixes a small bug found in #3336 (comment)

The inner_string_text functions were using the whole text, while they should use the trimmed text.

Test Plan

I updated the doc tests by adding some trivia, to demonstrate that the issue is fixed.

@ematipico ematipico requested a review from a team October 5, 2022 12:46
@ematipico ematipico temporarily deployed to netlify-playground October 5, 2022 12:46 Inactive
@netlify
Copy link

netlify bot commented Oct 5, 2022

Deploy Preview for rometools canceled.

Name Link
🔨 Latest commit b925d18
🔍 Latest deploy log https://app.netlify.com/sites/rometools/deploys/633d7cadec058d0009770108

@ematipico ematipico added the A-Core Area: core label Oct 5, 2022
@ematipico ematipico added this to the 10.0.0 milestone Oct 5, 2022
@github-actions
Copy link

github-actions bot commented Oct 5, 2022

@github-actions
Copy link

github-actions bot commented Oct 5, 2022

Parser conformance results on ubuntu-latest

js/262

Test result main count This PR count Difference
Total 45879 45879 0
Passed 44939 44939 0
Failed 940 940 0
Panics 0 0 0
Coverage 97.95% 97.95% 0.00%

jsx/babel

Test result main count This PR count Difference
Total 39 39 0
Passed 36 36 0
Failed 3 3 0
Panics 0 0 0
Coverage 92.31% 92.31% 0.00%

symbols/microsoft

Test result main count This PR count Difference
Total 5946 5946 0
Passed 1621 1621 0
Failed 4325 4325 0
Panics 0 0 0
Coverage 27.26% 27.26% 0.00%

ts/babel

Test result main count This PR count Difference
Total 588 588 0
Passed 519 519 0
Failed 69 69 0
Panics 0 0 0
Coverage 88.27% 88.27% 0.00%

ts/microsoft

Test result main count This PR count Difference
Total 16257 16257 0
Passed 12395 12395 0
Failed 3862 3862 0
Panics 0 0 0
Coverage 76.24% 76.24% 0.00%

@ematipico ematipico merged commit d5133dd into main Oct 5, 2022
@ematipico ematipico deleted the fix/use-text-trimmed branch October 5, 2022 13:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Core Area: core
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载