Commit Graph
29 Commits
Author SHA1 Message Date
José Valim 1c98392b96 Allow heredocs to be aligned according to the position the heredoc end. 2012-02-20 12:46:13 +01:00
José Valim 68ef31aed8 Assert heredocs accept expressions after its declaration 2012-02-20 12:22:07 +01:00
José Valim 07e5477af4 Assert heredocs do not modify __LINE__. 2012-02-20 12:20:49 +01:00
José Valim 67366b39bf Initial implementation of heredocs. 2012-02-20 12:13:38 +01:00
José Valim 3a06259951 Convert from def test_rest to test :rest 2012-02-13 16:56:11 +01:00
Rafael Mendonça França 1991d8669c Use new assertions on tests 2012-02-12 00:22:52 -02:00
José Valim 7d62257bfe Better exception message in case a failure happens on macro. 2012-02-06 13:15:31 +01:00
José Valim 6af3aca860 Revert "Support implicit string concatenation, closes #105"
This reverts commit 7efead6d79.

Conflicts:

	test/elixir/string_test.exs
2012-02-06 12:28:39 +01:00
José Valim 1389e35fc9 Optimize and write docs for <> 2012-02-06 12:27:34 +01:00
José Valim 149a7d183b Support \ at the end of lines, closes #106 2012-01-19 11:04:41 +01:00
José Valim 7efead6d79 Support implicit string concatenation, closes #105 2012-01-19 10:53:53 +01:00
José Valim 3e1eef0423 Remove and disable old tests. 2011-12-19 16:36:56 +01:00
drexin cbf1539ed3 added each_line and comments for the each_* methods to string 2011-08-23 15:41:01 +02:00
drexin f41e3705be added ruby like each_char and each_byte to string 2011-08-23 07:32:47 +02:00
Ryan Huffman 97d17167ac Add to_i to String 2011-08-21 16:54:52 -07:00
José Valim 271556e24c Fix an special case that evaled chars not in utf8 are not properly handled by erl_eval. 2011-07-11 22:09:12 -03:00
José Valim 3f231f31eb Add count and * to string. 2011-06-25 12:17:19 -03:00
José Valim fbb10f0ec8 Iterate the chars instead of regexp. 2011-06-25 11:37:21 -03:00
José Valim 943f3ac5db Split inspect into different tests. 2011-06-25 11:19:48 -03:00
José Valim 4fed302df0 Properly fix line break in strings. 2011-06-25 11:09:17 -03:00
José Valim a982ed9ad6 Also escape \r and \n from strings. 2011-06-25 10:51:36 -03:00
José Valim 7c5288ad1c String inspect properly handle quoted strings and interpolation. 2011-06-25 01:20:16 -03:00
José Valim 7efeb8705f Add explicit to_str conversion. 2011-06-10 13:19:14 +02:00
José Valim 50bb9ab0ea Tidy up conversions. 2011-06-10 13:19:14 +02:00
José Valim de0309cacd ExUnit now run with bindings. 2011-06-04 19:55:16 +02:00
Xavier Perez 2217b88bdf Added capitalize, index and chop to String 2011-05-30 20:48:51 +02:00
José Valim b01cfda578 Check if characeters are printable on String#inspect, closes #23. 2011-05-25 10:02:55 +02:00
José Valim dde5ab3ed6 Add strip to strings. 2011-04-24 14:18:49 +02:00
José Valim 77afe496c8 Rename test files to Elixir script files. 2011-04-11 12:00:28 +02:00