summaryrefslogtreecommitdiff
path: root/t/t4018/elixir-nested-module
diff options
context:
space:
mode:
authorLibravatar Łukasz Niemier <lukasz@niemier.pl>2019-11-08 22:38:24 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-10 15:26:26 +0900
commita807200f67588f6e30a7b6ac4a3ad97ad176ccc7 (patch)
treefc8563a426a920ff97c55287e2fd138fcccb6249 /t/t4018/elixir-nested-module
parentGit 2.24 (diff)
downloadtgif-a807200f67588f6e30a7b6ac4a3ad97ad176ccc7.tar.xz
userdiff: add Elixir to supported userdiff languages
Adds support for xfuncref in Elixir[1] language which is Ruby-like language that runs on Erlang[3] Virtual Machine (BEAM). [1]: https://elixir-lang.org [2]: https://www.erlang.org Signed-off-by: Łukasz Niemier <lukasz@niemier.pl> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/elixir-nested-module')
-rw-r--r--t/t4018/elixir-nested-module9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/t4018/elixir-nested-module b/t/t4018/elixir-nested-module
new file mode 100644
index 0000000000..771ebc5c42
--- /dev/null
+++ b/t/t4018/elixir-nested-module
@@ -0,0 +1,9 @@
+defmodule MyApp.RIGHT do
+ @moduledoc """
+ Foo bar
+ """
+
+ def ChangeMe(a) where is_map(a) do
+ a
+ end
+end