summaryrefslogtreecommitdiff
path: root/lib/elixir/test/elixir/io_test.exs
Commit message (Collapse)AuthorAgeFilesLines
* Format more files with little formatting requirementJosé Valim2017-10-101-19/+20
|
* Properly spell UTF-8 (#5373)Eksperimental2016-10-281-5/+5
|
* Add the :label option to IO.inspect/2 (#5010)Michał Muskała2016-07-161-0/+6
| | | | | | | | | | | This option decorates the output with an additional string, so it's easy to distinguish between different IO.inspect/2 calls. IO.inspect("foo", label: "bar") Will print: bar: "foo"
* Improve warning output (#4631)Aleksei Magusev2016-05-161-5/+5
|
* Unify warning callsJosé Valim2016-05-151-7/+7
|
* Make IOTest sync since we're capturing stderr nowAleksei Magusev2016-05-141-1/+1
|
* Tidy up IO.warn/1,2Aleksei Magusev2016-05-141-2/+2
|
* IO.warn to unify warnings (#4615)Louis Pilfold2016-05-131-0/+13
| | | | | | | | | | | | * IO.warn/1 function * Use IO.warn/1 instead of IO.write :stderr * Add stack trace printing to IO.warn * Remove manual stacktrace concatting from IO.warn calls * Remove double trailing newline from IO.warn
* Replace 'char_list' and 'char list' with 'charlist'eksperimental2016-05-071-3/+3
|
* Improve guards definition for IO stream functionsAleksei Magusev2016-05-041-7/+7
|
* IO: Several improvements (#4560)eksperimental2016-04-281-1/+30
| | | | | | | | | | | | | | | | | IO Module: * Impoves wording in documentation, particularly in the use of :all, :line, count * Standardizes arg names to be `line_*`. * Adds function guards to check for integers. * Unicode is a proper noun, so it should be always capitalized. * Adds backticks to args suchs as `device`, `item`, `count`. * When functions are "Unicode unsafe", they are indicated in the first paragraph of docs. * IO.puts: code simplified removing unnecessary variable. * Adds \n to example in IO.gets/2 * Adds example in IO.chardata_to_string/1 when dealing with strings * Renames args in IO.each_stream/2 and IO.each_binstream/2 * Adds tests for IO.getn/2-3 calling functions with different arities IO.Steam Module: * Adds a note about side effects when dealing with IO streams.
* Move doctests from central place to the modules they describeAleksei Magusev2015-11-251-0/+3
|
* Convert test :atom into test stringJosé Valim2015-08-151-19/+19
|
* Add unit test for IO.binread with :all optionMichael Sokolnicki2015-05-271-0/+6
| | | | | Unit test checks correct handling of 0x0D0A (CR+LF) when reading entire binary file
* implement IO.(bin)read which accept `:all`Joe-noh2014-07-081-0/+21
| | | | | | IO.(bin)read(dev, `:all`) reads all contents from device Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
* Do not add spaces after { and before }José Valim2014-04-211-11/+11
| | | | | This makes the source code consistent with the result returned by inspect/2.
* Update char list samples in IO testsJosé Valim2014-03-061-3/+3
|
* Deprecate __FILE__ in favor of __DIR__ or __ENV__.fileJosé Valim2014-01-021-11/+11
|
* Add typespecs and to_string conversion to some IO APIsJosé Valim2013-11-011-0/+29
|
* Decide on IO.stream and unify read/readline APIJosé Valim2013-06-301-6/+6
|
* Deprecate IO.getb in favor of IO.getnYuki Ito2013-05-201-10/+10
|
* Add __DIR__, closes #1019José Valim2013-05-061-1/+1
|
* Move path related functions from File to PathJosé Valim2013-01-191-11/+11
|
* Allow file iterators to be closed, Enum.take should not take items it is not ↵José Valim2013-01-051-5/+5
| | | | going to use
* Add IO.binread, IO.binwrite and friends, closes #645José Valim2012-11-161-4/+17
|
* Code.require_file and Code.load_file now expect the full name as argumentJosé Valim2012-08-211-1/+1
|
* Make the default for ExUnit case to be syncJosé Valim2012-07-161-1/+1
|
* Move all code to erlang style appsJosé Valim2012-07-051-0/+67