features/typogrowth.feature in typogrowth-0.9.5 vs features/typogrowth.feature in typogrowth-0.9.7

- old
+ new

@@ -49,10 +49,11 @@ | "Here is exclamation ellipsis! . ." | "Here is exclamation ellipsis!.." | | "Here we go ; semicolon .. ." | "Here we go; semicolon…" | | "Here are ' english ' quotes . ." | "Here are ‘english’ quotes.." | | "Here are " english " quotes . ." | "Here are “english” quotes.." | | "Here we go : colon . ." | "Here we go: colon.." | + | "Here are ( brackets ) parenthesis." | "Here are (brackets) parenthesis." | Scenario: Inplace string modification Given the input string is "Foo 'Bar' Baz" When input string is modified inplace with typo! Then typoed result should equal to "Foo “Bar” Baz" @@ -75,14 +76,25 @@ Examples: | input | output | | "<p><img src="http://mudasobwa.ru/i/self.jpg">Here: http://wikipedia.ru</p>" | "<p><img src="http://mudasobwa.ru/i/self.jpg">Here: http://wikipedia.ru</p>" | - Scenario Outline: Language determining + Scenario Outline: Language recognition Given the input string is <input> When input string language is determined Then the language should equal to <output> Examples: | input | output | | "<p><img src="http://mudasobwa.ru/i/self.jpg">Here: http://wikipedia.ru</p>" | "us" | | "<p><img src="http://mudasobwa.ru/i/self.jpg">Здесь: http://wikipedia.ru</p>" | "ru" | + + Scenario Outline: Language punctuation + Given the input string is <input> + When input string is processed with Typogrowl’s typography parser + Then the call to string’s typo should equal to <output> + + Examples: + | input | output | + | "Here 'you' go." | "Here “you” go." | + | "Тут 'русский' язык." | "Тут «русский» язык." | +