mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-25 19:17:23 +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 scalafmt callback should return the correct default values):
|
||||
call ale#test#SetFilename('scala_paths/dummy.scala')
|
||||
call ale#test#SetFilename('../test-files/scala/dummy.scala')
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
@@ -29,7 +29,7 @@ Execute(The scalafmt callback should return the correct default values):
|
||||
|
||||
Execute(The scalafmt callback should use ng with scalafmt automatically):
|
||||
let g:ale_scala_scalafmt_executable = 'ng'
|
||||
call ale#test#SetFilename('scala_paths/dummy.scala')
|
||||
call ale#test#SetFilename('../test-files/scala/dummy.scala')
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
@@ -42,7 +42,7 @@ Execute(The scalafmt callback should use ng with scalafmt automatically):
|
||||
|
||||
Execute(The scalafmt callback should include custom scalafmt options):
|
||||
let g:ale_scala_scalafmt_options = '--diff'
|
||||
call ale#test#SetFilename('scala_paths/dummy.scala')
|
||||
call ale#test#SetFilename('../test-files/scala/dummy.scala')
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
@@ -56,7 +56,7 @@ Execute(The scalafmt callback should include custom scalafmt options):
|
||||
Execute(The scalafmt callback should include custom scalafmt options and use ng with scalafmt):
|
||||
let g:ale_scala_scalafmt_options = '--diff'
|
||||
let g:ale_scala_scalafmt_executable = 'ng'
|
||||
call ale#test#SetFilename('scala_paths/dummy.scala')
|
||||
call ale#test#SetFilename('../test-files/scala/dummy.scala')
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
|
||||
Reference in New Issue
Block a user