Skip to content

Commit 94d56e8

Browse files
authored
fix(curriculum): Updated test to allow both slategray and slategrey for border color (freeCodeCamp#58746)
1 parent c428185 commit 94d56e8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

curriculum/challenges/english/25-front-end-development/lab-business-card/6690e10ebe2181212abc9652.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,10 @@ assert.exists(document.querySelector('p.company + hr'));
206206
The `hr` elements should have a `1px` dashed top border in `slategray` color.
207207
208208
```js
209-
assert.equal(new __helpers.CSSHelp(document).getStyle('hr').getPropVal('border-top'), '1px dashed slategray');
209+
assert.oneOf(
210+
new __helpers.CSSHelp(document).getStyle('hr').getPropVal('border-top'),
211+
['1px dashed slategray', '1px dashed slategrey']
212+
);
210213
```
211214
212215
After the first `hr` element, there should be a `p` element with an email address as your text.

0 commit comments

Comments
 (0)