Browse Source

test: Rename test-lint-checkdoc-ko{ ⇒ -1}.el

tags/v0.6.0
Damien Cassou 10 months ago
parent
commit
cb717008d0
Signed by: DamienCassou GPG Key ID: B68746238E59B548
2 changed files with 3 additions and 3 deletions
  1. +0
    -0
      test/data/test-lint-checkdoc-ko-1.el
  2. +3
    -3
      test/run-tests.sh

test/data/test-lint-checkdoc-ko.el → test/data/test-lint-checkdoc-ko-1.el View File


+ 3
- 3
test/run-tests.sh View File

@@ -158,15 +158,15 @@ run LINT_CHECKDOC_FILES="data/test-lint-checkdoc-ok.el" lint-checkdoc
check_not_output "^test-lint-checkdoc-ok.el:"

# Check that linting an unclean file echoes an error line
run LINT_CHECKDOC_FILES="data/test-lint-checkdoc-ko.el" lint-checkdoc
check_output "^test-lint-checkdoc-ko.el:.* Argument .foo. should appear (as FOO) in the doc string$"
run LINT_CHECKDOC_FILES="data/test-lint-checkdoc-ko-1.el" lint-checkdoc
check_output "^test-lint-checkdoc-ko-1.el:.* Argument .foo. should appear (as FOO) in the doc string$"

# Check that linting a clean file exits with success status
run LINT_CHECKDOC_FILES="data/test-lint-checkdoc-ok.el" lint-checkdoc
check_exit_success

# Check that linting an unclean file exits with failure status
run LINT_CHECKDOC_FILES="data/test-lint-checkdoc-ko.el" lint-checkdoc
run LINT_CHECKDOC_FILES="data/test-lint-checkdoc-ko-1.el" lint-checkdoc
check_exit_failure

# Check that linting several files including an unclean one exits with failure status


Loading…
Cancel
Save