cucumber-attic / gherkin2

A fast Gherkin parser in Ragel (The parser behind Cucumber)
MIT License
382 stars 221 forks source link

Relax the tests of the listing of available languages. #298

Closed brasmusson closed 10 years ago

brasmusson commented 10 years ago

Currently language list/language table is hard coded in tests which makes it unnecessarily hard to add new languages (see comment-1 and comment-2)

Therefore, to simplify the addition of new languages, remove the hard coded language list/language table in the tests. Instead test a sample of languages in addition to having the tests read the list of language codes from the file i18n.json

aslakhellesoy commented 10 years ago

\o/

os97673 commented 10 years ago

Thank you for the fix