Remove and prevent trailing whitespace (#10199)

* Remove trailing whitespace.

* Add no-trailing-whitespace extra test.

* Re-add needed trailing whitespace.

* Remove one more trailing whitespace.
This commit is contained in:
Felix Fontein
2025-06-07 17:47:22 +02:00
committed by GitHub
parent 41f8e0bad6
commit 8bd68e7e41
50 changed files with 119 additions and 115 deletions

View File

@@ -190,7 +190,7 @@
state: present
- name: clean zypper RPM cache
file:
file:
name: /var/cache/zypper/RPMS
state: absent
@@ -267,7 +267,7 @@
state: present
- name: clean zypper RPM cache
file:
file:
name: /var/cache/zypper/RPMS
state: absent
@@ -354,8 +354,8 @@
state: absent
- name: install and remove in the same run, with +- prefix
zypper:
name:
zypper:
name:
- -hello
- +metamail
state: present
@@ -417,13 +417,13 @@
- name: try rm patch
zypper:
name: openSUSE-2016-128
name: openSUSE-2016-128
type: patch
state: absent
ignore_errors: true
register: zypper_patch
- assert:
that:
that:
- zypper_patch is failed
- zypper_patch.msg.startswith('Can not remove patches.')
@@ -434,7 +434,7 @@
ignore_errors: true
register: zypper_rm
- assert:
that:
that:
- zypper_rm is failed
- zypper_rm.msg.startswith('Can not remove via URL.')
@@ -450,7 +450,7 @@
type: pattern
state: present
register: zypper_install_pattern1
- name: install pattern update_test again
zypper:
name: update_test
@@ -479,7 +479,7 @@
name: hello
state: present
register: zypperin2
- assert:
that:
- zypperin1 is succeeded