Skip to content

Commit

Permalink
Update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Jan 19, 2025
1 parent 5dc7fa2 commit 5cf84c1
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,13 @@ Describe 'Module tests' -Tag 'Module' {

$incorrectTypes = [System.Collections.ArrayList]@()
foreach ($typeName in $templateFileContent.definitions.Keys) {
if ($typeName -cnotmatch '^.*Type$') {
if ($typeName -cnotmatch '^(.+\.)?[a-z].*Type$') {
# Passes
# - testType
# - _1.testType
# NOT passes
# - test
# - _1.TestType
$incorrectTypes += $typeName
}
}
Expand Down

0 comments on commit 5cf84c1

Please sign in to comment.