File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
defmodule IEx.ANSIDocs do
2
2
@ moduledoc false
3
3
4
- @ bullets [ ?* , ?- ]
4
+ @ bullets [ ?* , ?- , ?+ ]
5
5
6
6
@ doc """
7
7
Prints the head of the documentation (i.e. the function signature)
Original file line number Diff line number Diff line change @@ -89,14 +89,14 @@ defmodule IEx.AnsiDocsTest do
89
89
assert result == "• one two three\n • four"
90
90
end
91
91
92
- test "- nested lists are converted" do
93
- result = format ( "- one\n - one.one \n - one.two \n - two " )
94
- assert result == "• one\n • one.one \n • one.two \n • two "
92
+ test "+ list is converted" do
93
+ result = format ( "+ one\n + two \n + three \n " )
94
+ assert result == "• one\n • two \n • three \n \e [0m "
95
95
end
96
96
97
- test "- lists with spaces are converted" do
98
- result = format ( " - one\n - two \n - three " )
99
- assert result == "• one\n • two\n • three "
97
+ test "+ and - nested lists are converted" do
98
+ result = format ( "- one\n + one.one \n + one.two \n - two " )
99
+ assert result == "• one\n • one.one \n • one. two\n • two "
100
100
end
101
101
102
102
test "paragraphs are split" do
You can’t perform that action at this time.
0 commit comments