Skip to content

Commit

Permalink
Fix test config and output for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopsazevedo committed Jan 27, 2023
1 parent 28a8363 commit cf88808
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testsuite/tests/lint/array_aggregates/apply_edits/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ rm -rf output
mkdir output
cp -a test.gpr main.adb output
gnatrefactor array_aggregates -P output/test.gpr
diff expected output
diff expected output --strip-trailing-cr
1 change: 1 addition & 0 deletions testsuite/tests/lint/array_aggregates/empty/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ description: |4
driver: shell_script

canonicalize_backslashes: True
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ description: |4
driver: shell_script

canonicalize_backslashes: True
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ description: |4
driver: shell_script

canonicalize_backslashes: True
4 changes: 2 additions & 2 deletions testsuite/tests/lint/common/help/test.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
usage: gnatrefactor [--help|-h] [--help|-h] tool [--verbose|-v] [--pipe|-p]
[--project|-P PROJECT]
usage: gnatrefactor(?:\.exe)? \[--help\|-h] \[--help\|-h] tool \[--verbose\|-v] \[--pipe\|-p]
\s+\[--project\|-P PROJECT]

Refactor tools

Expand Down
2 changes: 2 additions & 0 deletions testsuite/tests/lint/common/help/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ title: help
description: Tests the output of the --help flag

driver: shell_script

baseline_regexp: True

0 comments on commit cf88808

Please sign in to comment.