mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
biome handles utf8 characters differently between files and stdin, and in some cases can replace emojis with ascii characters when using stdin refs: biomejs/biome#2604
17 lines
349 B
Plaintext
17 lines
349 B
Plaintext
Before:
|
|
call ale#assert#SetUpFixerTest('typescript', 'biome')
|
|
|
|
After:
|
|
call ale#assert#TearDownFixerTest()
|
|
|
|
Execute(The default biome command should be correct):
|
|
call ale#test#SetFilename('../test-files/typescript/test.ts')
|
|
|
|
AssertFixer
|
|
\ {
|
|
\ 'read_temporary_file': 1,
|
|
\ 'command': ale#Escape('biome')
|
|
\ . ' format %t'
|
|
\ }
|
|
|