修改完成
This commit is contained in:
@@ -7,7 +7,7 @@ function Assert-Contains {
|
||||
|
||||
function Assert-NoCssSurface {
|
||||
param([string]$Content, [string]$ClassName)
|
||||
foreach ($property in @('border', 'background', 'border-radius')) {
|
||||
foreach ($property in @('border', 'border-radius')) {
|
||||
if ($Content -match "(?s)\\.$ClassName\\s*\\{[^}]*\\b$property\\s*:") {
|
||||
throw "G11-G12 must not construct .$ClassName with CSS $property"
|
||||
}
|
||||
@@ -27,7 +27,7 @@ foreach ($page in @($g11, $g12)) {
|
||||
}
|
||||
|
||||
foreach ($required in @(
|
||||
"const settingsState = ref('loading')",
|
||||
'const settingsState = ref("loading")',
|
||||
'settings-state--form',
|
||||
'settings-state--success',
|
||||
'settings-state--error',
|
||||
@@ -38,12 +38,12 @@ foreach ($required in @(
|
||||
'a01-scroll-primary-v3.png',
|
||||
'const genealogyDraft',
|
||||
'query.genealogyId',
|
||||
"'MEMBER_ONLY'",
|
||||
"'PUBLIC_APPLY'"
|
||||
'"MEMBER_ONLY"',
|
||||
'"PUBLIC_APPLY"'
|
||||
)) { Assert-Contains $g11 $required "Missing G11 settings contract: $required" }
|
||||
|
||||
foreach ($required in @(
|
||||
"const poemState = ref('loading')",
|
||||
'const poemState = ref("loading")',
|
||||
'poem-state--list',
|
||||
'poem-state--empty',
|
||||
'poem-state--edit',
|
||||
|
||||
Reference in New Issue
Block a user