Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indentation of the code frame is offset with a file that uses tabs #1679

Closed
6 tasks done
skarab42 opened this issue Jul 19, 2022 · 0 comments
Closed
6 tasks done

Indentation of the code frame is offset with a file that uses tabs #1679

skarab42 opened this issue Jul 19, 2022 · 0 comments

Comments

@skarab42
Copy link
Contributor

Describe the bug

When testing a file that contains tabs, the code frame is indented with an offset.

vitest-tabs-issue

Reproduction

https://github.com/skarab42/vitest-tabs-issue-repro

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
    Memory: 19.50 GB / 31.83 GB
  Binaries:
    Node: 14.19.1 - ~\scoop\shims\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.13.2 - ~\scoop\shims\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (103.0.1264.62)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    vitest: ^0.18.1 => 0.18.1

Used Package Manager

pnpm

Validations

@antfu antfu closed this as completed in f728ff6 Jul 19, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jun 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants