Skip to content

Commit 8febc6a

Browse files
committed
Merge branch 'add-stylechecker' of github.com:melexis/robot2rst into add-stylechecker
2 parents a7ffed8 + 1a16c2c commit 8febc6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_formatting.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def test_get_robot_files_directory():
141141
# Should find all .robot files in INPUT_DIR
142142
assert len(result) >= 2
143143
assert all(f.suffix == '.robot' for f in result)
144-
assert all(f.parent == INPUT_DIR for f in result)
144+
# All files should be within the INPUT_DIR tree
145+
assert all(INPUT_DIR in f.parents or f.parent == INPUT_DIR for f in result)
145146

146147

147148
def test_get_robot_files_mixed_paths():

0 commit comments

Comments
 (0)