Skip to content

Commit

Permalink
try fix dmd test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rtbo committed Mar 21, 2021
1 parent 30aa50d commit 7cdc7d9
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions test/linter/test_dmd_commandline.vader
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Before:
After:
call ale#linter#Reset()

Execute(DMD command line should be correct with Imports):
Execute(DMD command line should be correct with imports):
AssertEqual
\ 'dmd ' .
\ '-I''source'' ' .
\ '-I''/prefix/include/d'' ' .
\ '-I''/home/user/.dub/packages/pkg-0.0.1/pkg/src'' ' .
\ '-I' . ale#Escape('source') . ' ' .
\ '-I' . ale#Escape('/prefix/include/d') . ' ' .
\ '-I' . ale#Escape('/home/user/.dub/packages/pkg-0.0.1/pkg/src') . ' ' .
\ ' ' .
\ ' ' .
\ ' ' .
Expand All @@ -26,14 +26,14 @@ Execute(DMD command line should be correct with Imports):
\ '',
\ ], {})

Execute(DMD command line should be correct with Imports and version):
Execute(DMD command line should be correct with imports and version):
AssertEqual
\ 'dmd ' .
\ '-I''source'' ' .
\ '-I''/prefix/include/d'' ' .
\ '-I''/home/user/.dub/packages/pkg-0.0.1/pkg/src'' ' .
\ '-I' . ale#Escape('source') . ' ' .
\ '-I' . ale#Escape('/prefix/include/d') . ' ' .
\ '-I' . ale#Escape('/home/user/.dub/packages/pkg-0.0.1/pkg/src') . ' ' .
\ ' ' .
\ '-version=''SOME_VERSION'' ' .
\ '-version=' . ale#Escape('SOME_VERSION') . ' ' .
\ ' ' .
\ '-o- -wi -vcolumns -c %t',
\ ale_linters#d#dmd#DMDCommand(bufnr(''), [
Expand All @@ -48,16 +48,16 @@ Execute(DMD command line should be correct with Imports and version):
\ '',
\ ], {})

Execute(DMD command line should be correct with all lists):
Execute(DMD command line should be correct):
AssertEqual
\ 'dmd ' .
\ '-I''source'' ' .
\ '-I''/prefix/include/d'' ' .
\ '-I''/home/user/.dub/packages/pkg-0.0.1/pkg/src'' ' .
\ '-J''views'' ' .
\ '-version=''SOME_VERSION'' ' .
\ '-version=''SOME_OTHER_VERSION'' ' .
\ '-debug=''SomeFeature'' ' .
\ '-I' . ale#Escape('source') . ' ' .
\ '-I' . ale#Escape('/prefix/include/d') . ' ' .
\ '-I' . ale#Escape('/home/user/.dub/packages/pkg-0.0.1/pkg/src') . ' ' .
\ '-J' . ale#Escape('views') . ' ' .
\ '-version=' . ale#Escape('SOME_VERSION') . ' ' .
\ '-version=' . ale#Escape('SOME_OTHER_VERSION') . ' ' .
\ '-debug=' . ale#Escape('SomeFeature') . ' ' .
\ '-o- -wi -vcolumns -c %t',
\ ale_linters#d#dmd#DMDCommand(bufnr(''), [
\ 'source',
Expand Down

0 comments on commit 7cdc7d9

Please sign in to comment.