Files
ale/test/fixers/test_biome_fixer_callback.vader
Braden Kelley 0cd64c87bf fix(biome): use temp file instead of stdin (#4775)
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
2024-06-21 08:19:55 +09:00

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'
\ }