fix: Capitalize test text for Cascading CSS variables (#34910)

pull/34972/head
Nelson Sandoval 2019-01-28 03:11:49 +02:00 committed by Christopher McCormack
parent 8208b04af5
commit a284b296fc
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ Define a variable named <code>--penguin-belly</code> in the <code>:root</code> s
```yml
tests:
- text: declare the <code>--penguin-belly</code> variable in the <code>:root</code> and assign it to <code>pink</code>.
testString: assert(code.match(/:root\s*?{[\s\S]*--penguin-belly\s*?:\s*?pink\s*?;[\s\S]*}/gi), 'declare the <code>--penguin-belly</code> variable in the <code>:root</code> and assign it to <code>pink</code>.');
- text: Declare the <code>--penguin-belly</code> variable in the <code>:root</code> and assign it to <code>pink</code>.
testString: assert(code.match(/:root\s*?{[\s\S]*--penguin-belly\s*?:\s*?pink\s*?;[\s\S]*}/gi), 'Declare the <code>--penguin-belly</code> variable in the <code>:root</code> and assign it to <code>pink</code>.');
```