Closed eborden closed 5 years ago
Arbitrary instance were generating garbage. Instead arbitrary instances should produce valid language tags. That is validated by converting arbitrary tags to text and parsing them back to the same representation.
Addresses https://github.com/freckle/bcp47/issues/2
Will merge after https://github.com/freckle/bcp47/pull/1, since this branches off that.
Arbitrary instance were generating garbage. Instead arbitrary instances should produce valid language tags. That is validated by converting arbitrary tags to text and parsing them back to the same representation.
Addresses https://github.com/freckle/bcp47/issues/2