mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-20 10:02:57 +08:00
Support format xml file which haven't yet persisted at the disk (#4585)
Support format xml file which haven't yet persisted at the disk
This commit is contained in:
@@ -12,6 +12,16 @@ Before:
|
||||
After:
|
||||
Restore
|
||||
|
||||
Execute(The xmllint callback should return the correct default command with unpersisted buffer):
|
||||
new
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
\ 'command': ale#Escape('/path/to/xmllint')
|
||||
\ . ' --format %t'
|
||||
\ },
|
||||
\ ale#fixers#xmllint#Fix(bufnr(''))
|
||||
|
||||
Execute(The xmllint callback should return the correct default command):
|
||||
AssertEqual
|
||||
\ {
|
||||
|
||||
Reference in New Issue
Block a user