-Code.require_file "../test_helper.exs", __DIR__
+Code.require_file("../test_helper.exs", __DIR__)
 
 defmodule IEx.InfoTest do
   use ExUnit.Case

  end

  test "tuples" do
    assert Info.info({:ok, "good!"}) == ["Data type": "Tuple",
                                         "Reference modules": "Tuple"]
  end

  test "atoms: loaded module (without docs)" do
    info = Info.info(Foo)
    assert info[:"Data type"] == "Atom"
    assert info[:"Source"] == Path.relative_to_cwd(__ENV__.file)
    assert info[:"Description"] == "Call IEx.InfoTest.Foo.module_info() to access metadata."
    assert info[:"Raw representation"] == ~s(:"Elixir.IEx.InfoTest.Foo")
  end

  test "atoms: loaded module (with docs)" do
    info = Info.info(List)
    description = "Use h(List) to access its documentation.\n" <>
                  "Call List.module_info() to access metadata."
    assert info[:"Description"] == description
  end

  test "atoms: module that is also a protocol" do
    info = Info.info(String.Chars)
    description = info[:"Protocol"]
    assert description =~ "This module is a protocol"
    assert description =~ "Atom"
    assert description =~ "BitString"

  end

  test "atoms: regular atom" do
    assert Info.info(:foo) == ["Data type": "Atom", "Reference modules": "Atom"]
  end

  test "lists: charlists" do
    info = Info.info('foo')
    assert info[:Description] =~ "This is a list of integers that is printed"
    assert info[:"Raw representation"] == "[102, 111, 111]"
  end

  test "lists: keyword lists" do
    info = Info.info(a: 1, b: 2)
    assert info[:Description] =~ "This is what is referred to as a \"keyword list\""
  end

  test "lists: regular lists" do
