exercism/xelixir — pull request #9 by lancehalvorsen (2014-06-10 00:37:15+00:00)
Title: change doctest to match readme and spec

As I read it, the original doctest asserts that a string representing an 11 digit number will be returned when the first character of the string is "1". The README and one of the specs directly contradict this.

From the README:
* If the phone number is 11 digits and the first number is 1, trim the 1 and use the first 10 digits

From the spec, line 22:
assert Phone.number("11234567890") == "1234567890"