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:
jiz4oh
2023-08-20 17:43:31 +08:00
committed by GitHub
parent d1bac104a1
commit 115ad17ace
2 changed files with 19 additions and 2 deletions

View File

@@ -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
\ {