@@ -87,37 +87,33 @@ defmodule ExDoc.AutolinkTest do
8787
8888    test  "elixir callback"  do 
8989      assert  autolink ( "c:GenServer.handle_call/3" )  == 
90-                ~m" [`c:GenServer.handle_call/3`](https://hexdocs.pm/elixir/GenServer.html#c:handle_call/3)"  
91- 
92-       # TODO: there should be no `c:` in the link _text_! 
93-       # assert autolink("c:GenServer.handle_call/3") == 
94-       #          ~m"[`GenServer.handle_call/3`](https://hexdocs.pm/elixir/GenServer.html#c:handle_call/3)" 
90+                ~m" [`GenServer.handle_call/3`](https://hexdocs.pm/elixir/GenServer.html#c:handle_call/3)"  
9591    end 
9692
9793    test  "erlang callback"  do 
9894      assert  autolink ( "c::gen_server.handle_call/3" )  == 
99-                ~m" [`c: :gen_server.handle_call/3`](http://www.erlang.org/doc/man/gen_server.html#Module:handle_call-3)"  
95+                ~m" [`:gen_server.handle_call/3`](http://www.erlang.org/doc/man/gen_server.html#Module:handle_call-3)"  
10096    end 
10197
10298    test  "elixir type"  do 
10399      assert  autolink ( "t:Calendar.date/0" )  == 
104-                ~m" [`t: Calendar.date/0`](https://hexdocs.pm/elixir/Calendar.html#t:date/0)"  
100+                ~m" [`Calendar.date/0`](https://hexdocs.pm/elixir/Calendar.html#t:date/0)"  
105101    end 
106102
107103    test  "elixir basic & built-in types"  do 
108104      assert  autolink ( "t:atom/0" )  == 
109-                ~m" [`t: atom/0`](https://hexdocs.pm/elixir/typespecs.html#basic-types)"  
105+                ~m" [`atom/0`](https://hexdocs.pm/elixir/typespecs.html#basic-types)"  
110106
111107      assert  autolink ( "t:keyword/0" )  == 
112-                ~m" [`t: keyword/0`](https://hexdocs.pm/elixir/typespecs.html#built-in-types)"  
108+                ~m" [`keyword/0`](https://hexdocs.pm/elixir/typespecs.html#built-in-types)"  
113109
114110      assert  autolink ( "t:keyword/0" ,  app:  :elixir )  == 
115-                ~m" [`t: keyword/0`](typespecs.html#built-in-types)"  
111+                ~m" [`keyword/0`](typespecs.html#built-in-types)"  
116112    end 
117113
118114    test  "erlang type"  do 
119115      assert  autolink ( "t::array.array/0" )  == 
120-                ~m" [`t: :array.array/0`](http://www.erlang.org/doc/man/array.html#type-array)"  
116+                ~m" [`:array.array/0`](http://www.erlang.org/doc/man/array.html#type-array)"  
121117    end 
122118
123119    test  "special forms"  do 
0 commit comments