ale/test/fixers/test_forge_fixer_callback.vader
Henrique Barcelos 64ddf457e1
Feature: add forge fmt as a fixer for Solidity files (#4598)
* feat: add `forge fmt` as a fixer for Solidity
2023-09-05 18:34:39 +01:00

16 lines
294 B
Plaintext

Before:
Save g:ale_solidity_forge_executable
After:
Restore
Execute(The forge fmt callback should return the correct default values):
AssertEqual
\ {
\ 'command': ale#Escape('forge')
\ . ' fmt %t',
\ 'read_temporary_file': 1,
\ },
\ ale#fixers#forge#Fix(bufnr(''))