Test Failed: strings_spec.lua
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Run nvim --headless -c 'PlenaryBustedFile tests/plenary/strings_spec.lua' in a clean environment, then inspect tests/plenary/strings_spec.lua around lines 20 and 23. Compare the reported tab-width results with the expected values and confirm whether the failure reproduces without other plugins; done means the discrepancy is explained and the test passes.
Written by the indexing model from the issue text.
Description
nvim --headless -c 'PlenaryBustedFile tests/plenary/strings_spec.lua'
Testing: tests/plenary/strings_spec.lua
Success || strings strdisplaywidth lua: ambiwidth = single, "abcde" -> 5
Success || strings strdisplaywidth vim: ambiwidth = single, "abcde" -> 5
Success || strings strdisplaywidth lua: ambiwidth = double, "abcde" -> 5
Success || strings strdisplaywidth vim: ambiwidth = double, "abcde" -> 5
Fail || strings strdisplaywidth lua: ambiwidth = single, "abc de" -> 10
tests/plenary/strings_spec.lua:20: Expected objects to be the same.
Passed in:
(number) 6
Expected:
(number) 10
stack traceback:
tests/plenary/strings_spec.lua:20: in function <tests/plenary/strings_spec.lua:19>
Fail || strings strdisplaywidth vim: ambiwidth = single, "abc de" -> 10
tests/plenary/strings_spec.lua:23: Expected objects to be the same.
Passed in:
(number) 6
Expected:
(number) 10
stack traceback:
tests/plenary/strings_spec.lua:23: in function <tests/plenary/strings_spec.lua:22>
Fail || strings strdisplaywidth lua: ambiwidth = double, "abc de" -> 10
tests/plenary/strings_spec.lua:20: Expected objects to be the same.
Passed in:
(number) 6
Expected:
(number) 10
stack traceback:
tests/plenary/strings_spec.lua:20: in function <tests/plenary/strings_spec.lua:19>
Fail || strings strdisplaywidth vim: ambiwidth = double, "abc de" -> 10
tests/plenary/strings_spec.lua:23: Expected objects to be the same.
Passed in:
(number) 6
Expected:
(number) 10
stack traceback:
tests/plenary/strings_spec.lua:23: in function <tests/plenary/strings_spec.lua:22>
Success || strings strdisplaywidth lua: ambiwidth = single, "アイウエオ" -> 10
It may be related to my other installed plugins or not. Please Run this Test to confirm this issue.
- Dominant language
- Lua
- Stars
- 3.5k
- Forks
- 340
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvim-lua/plenary.nvim
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
nvim-lua/plenary.nvim#682 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
nvim-lua/plenary.nvim#680 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
nvim-lua/plenary.nvim#675 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
nvim-lua/plenary.nvim#672 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
nvim-lua/plenary.nvim#671 · 1 comment ·
All issues in nvim-lua/plenary.nvim
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
api7/lua-resty-saml#62 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
codymikol/multiverse.nvim#320 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100