mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-15 23:56:52 +08:00
Fix biome formatter (#4733)
* Fix biome formatter Added escaped executable to the biome#Fix command * Added fixer callback test
This commit is contained in:
15
test/fixers/test_biome_fixer_callback.vader
Normal file
15
test/fixers/test_biome_fixer_callback.vader
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
\ {
|
||||
\ 'command': ale#Escape('biome')
|
||||
\ . ' format --stdin-file-path=%s'
|
||||
\ }
|
||||
|
||||
Reference in New Issue
Block a user