Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
#23 fix typo
  • Loading branch information
agabrys committed Jan 18, 2018
1 parent f751b39 commit 14cdd47
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -82,14 +82,14 @@ public void parse_fontFaceRuleFromIssueNo3_parsesCorrectly() {

final List<StyleProperty> properties = fontFaceRule.getProperties();
assertThat(properties).hasSize(5);
verityProperty(properties.get(0), "font-family", "FontAwesome");
verityProperty(properties.get(1), "src", "url(../base/fonts/fontawesome-webfont.eot)");
verityProperty(properties.get(2), "src", value.toString());
verityProperty(properties.get(3), "font-weight", "normal");
verityProperty(properties.get(4), "font-style", "normal");
verifyProperty(properties.get(0), "font-family", "FontAwesome");
verifyProperty(properties.get(1), "src", "url(../base/fonts/fontawesome-webfont.eot)");
verifyProperty(properties.get(2), "src", value.toString());
verifyProperty(properties.get(3), "font-weight", "normal");
verifyProperty(properties.get(4), "font-style", "normal");
}

private static void verityProperty(final StyleProperty property, final String name, final String value) {
private static void verifyProperty(final StyleProperty property, final String name, final String value) {
assertThat(property).isNotNull();
assertThat(property.getName()).isEqualTo(name);
assertThat(property.getValue()).isEqualTo(value);
Expand Down

0 comments on commit 14cdd47

Please sign in to comment.