Skip to content

Commit 8421fae

Browse files
authored
Add full coverage to no_relative_paths rule (#3038)
Co-authored-by: Ajinkya Udgirkar <[email protected]>
1 parent 8592a4f commit 8421fae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/rules/test_no_relative_paths.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
copy:
2929
content: '# This file was moved to /etc/other.conf'
3030
dest: /etc/mine.conf
31-
# - name: Content example with no src
32-
# win_copy:
33-
# content: '# This file was moved to /etc/other.conf'
34-
# dest: /etc/mine.conf
31+
- name: Copy example
32+
copy:
33+
src: /home/example/files/foo.conf
34+
dest: /etc/foo.conf
3535
"""
3636

3737

0 commit comments

Comments
 (0)