Windows: annotated-qmd "Substring over Concat" test reads the source two characters early
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript, yaml
- Área
- documentation, testing
Línea de trabajo
La aserción que falla está en ts-packages/annotated-qmd/test/content-provenance.test.ts alrededor de la línea 138, y lee el código fuente sin procesar de fixtures/yaml-block-scalar.qmd usando desplazamientos de bytes de fixtures/yaml-block-scalar.json. Primero revisa git ls-files --eol en el fixture y si se descarga como CRLF en Windows. La solución probable es extender el fijado eol=lf en .gitattributes a ts-packages/annotated-qmd/test/fixtures/*, y luego confirmar que la prueba pasa en windows-latest.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The test "YAML block-scalar inlines: Substring over Concat maps through the parent, not affinely" fails on windows-latest:
https://github.com/quarto-dev/q2/actions/runs/45608700263
AssertionError [ERR_ASSERTION]: inline 0 (Str "line") raw source text
actual: ' li',
expected: 'line',
The test is here:
I think this is a CRLF checkout. fixtures/yaml-block-scalar.json records byte offsets into fixtures/yaml-block-scalar.qmd, and .gitattributes only pins ts-packages/annotated-qmd/examples/* to eol=lf, not test/fixtures. On my Windows checkout git ls-files --eol reports i/lf w/crlf for the .qmd. Two extra bytes in the front matter (---\r\ntitle: |\r\n) shift the read window by 2, which matches ' li' against 'line'. I haven't tried the fixture with LF endings yet.
We could extend the existing pin to ts-packages/annotated-qmd/test/fixtures/*. Linux and macOS pass today.
Related: the existing pin and its comment in .gitattributes, and #1275 (the opt-in Windows runner axis that exposed this).
- Lenguaje dominante
- Rust
- Estrellas
- 316
- Forks
- 23
- Merge medio
- 8 h 19 min
- PR fusionados (30 d)
- 244
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de quarto-dev/q2
-
bug testing windows
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
quarto-dev/q2#1347 ·
Los mantenedores suelen responder en 1 día
-
bug testing windows
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
quarto-dev/q2#1346 ·
Los mantenedores suelen responder en 1 día
-
bug testing windows
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
quarto-dev/q2#1344 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
quarto-dev/q2#1335 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
quarto-dev/q2#1324 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de quarto-dev/q2
Issues similares
-
renaming a provider to a taken name fails with a raw sql errorPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoarea:storage kind:bug priority:p3 ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
expo/exact#1716 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
XLSX files cannot be imported into Adobe InDesign due to missing AppVersion in extended propertiesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
qingjian-team/qingjian#1181 ·
Los mantenedores suelen responder en 2 días