aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/indent/julia/curly_expression.jl15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/indent/julia/curly_expression.jl b/tests/indent/julia/curly_expression.jl
new file mode 100644
index 000000000..de22067a6
--- /dev/null
+++ b/tests/indent/julia/curly_expression.jl
@@ -0,0 +1,15 @@
+function test(a::Union{Number,
+ String,
+ Nothing},
+ b::Number)
+end
+
+function test(
+ a::Union{
+ Number,
+ String,
+ Nothing
+ },
+ b::Number
+)
+end