Skip to content

Commit 9d40717

Browse files
committed
Merge pull request #187 from elixir-lang/add-test-case
Add unresolved test case.
2 parents 72a4b01 + 13213c6 commit 9d40717

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/elixir-mode-indentation-test.el

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,20 @@ children = [
951951
worker(Task, [KVServer, :accept, [4040]])
952952
]")
953953

954+
(elixir-def-indentation-test indent-after-reserved-word/1
955+
(:expected-result :failed :tags '(indentation))
956+
;; Will pass when #170 is resolved.
957+
"
958+
def foo(test) do
959+
test_case = test.case
960+
run(test_case)
961+
end"
962+
"
963+
def foo(test) do
964+
test_case = test.case
965+
run(test_case)
966+
end")
967+
954968
;; We don't want automatic whitespace cleanup here because of the significant
955969
;; whitespace after `Record' above. By setting `whitespace-action' to nil,
956970
;; `whitespace-mode' won't automatically clean up trailing whitespace (in my

0 commit comments

Comments
 (0)