mirror of
https://github.com/unclebob/dryer.git
synced 2026-11-26 18:58:51 +00:00
Document Swift as a supported language.
The scan already reports Swift pairs in the text report and in .metrics/dry.edn. The help text, the language table, and the project description still listed the previous six languages. Proved: test_help_does_not_scan failed until the help named Swift (.swift) and *Tests.swift, then passed. test_swift_report_writes_the_same_snapshot checks the text lines and :language \"swift\" in dry.edn. The shared language tests now include Swift. 92 tests passed. Co-authored-by: Robert C. Martin <[email protected]>
This commit is contained in:
co-authored by
Robert C. Martin
parent
f667ad03ba
commit
1bb1936ad5
@@ -40,6 +40,8 @@ def test_help_does_not_scan(capsys):
|
||||
assert "Usage: dryer" in out
|
||||
assert "__pycache__" in out
|
||||
assert ".test.cts" in out
|
||||
assert "Swift (.swift)" in out
|
||||
assert "*Tests.swift" in out
|
||||
assert "--threshold" in out
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user