Skip to content

Commit

Permalink
Added trim() for list of string test directories
Browse files Browse the repository at this point in the history
### What's done:
* Added trim() for list of string test directories
Closes #1288
  • Loading branch information
Cheshiriks committed Oct 28, 2022
1 parent 104a978 commit 96a28c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class ConfigReaderTest {
.readResource("src/test/resources/test-rules-config.yml")
requireNotNull(rulesConfigList)
assert(rulesConfigList.getCommonConfiguration().kotlinVersion == kotlinVersion)
assert(rulesConfigList.getCommonConfiguration().testAnchors.contains("androidUnitTest"))
assert(rulesConfigList.find { it.name == DIKTAT_COMMON }
?.configuration
?.get("kotlinVersion")
Expand Down
1 change: 1 addition & 0 deletions diktat-common/src/test/resources/test-rules-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
configuration:
domainName: org.cqfn.diktat
kotlinVersion: 1.4.21
testDirs: "test, androidUnitTest"
- name: CLASS_NAME_INCORRECT
enabled: true
- name: CONSTANT_UPPERCASE
Expand Down

0 comments on commit 96a28c0

Please sign in to comment.