mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-16 13:35:06 +08:00
#3633 - Put all dummy test files in test/test-files
This commit is contained in:
@@ -17,7 +17,7 @@ After:
|
||||
call ale#test#RestoreDirectory()
|
||||
|
||||
Execute(The gofmt callback should return the correct default values):
|
||||
call ale#test#SetFilename('../go_files/testfile.go')
|
||||
call ale#test#SetFilename('../test-files/go/testfile.go')
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
@@ -28,7 +28,7 @@ Execute(The gofmt callback should return the correct default values):
|
||||
Execute(The gofmt callback should include custom gofmt options):
|
||||
let g:ale_go_gofmt_options = "-r '(a) -> a'"
|
||||
|
||||
call ale#test#SetFilename('../go_files/testfile.go')
|
||||
call ale#test#SetFilename('../test-files/go/testfile.go')
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
@@ -40,7 +40,7 @@ Execute(The gofmt callback should include custom gofmt options):
|
||||
Execute(The gofmt callback should support Go environment variables):
|
||||
let g:ale_go_go111module = 'off'
|
||||
|
||||
call ale#test#SetFilename('../go_files/testfile.go')
|
||||
call ale#test#SetFilename('../test-files/go/testfile.go')
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
|
||||
Reference in New Issue
Block a user