summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-08-10 21:39:24 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-08-15 13:34:16 -0700
commitac5456567aba6b90aeb92326b7510fc6a4530915 (patch)
tree5a07b4e01ef15ba18c2dc16970e79926268b9f00 /tests
parente5c60516b5457b31628ad2c975c9b0dcacb0cbc2 (diff)
indens(go): fix issue 3288
Fixes #3288
Diffstat (limited to 'tests')
-rw-r--r--tests/indent/go/issue-3288.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/indent/go/issue-3288.go b/tests/indent/go/issue-3288.go
new file mode 100644
index 00000000..a5920818
--- /dev/null
+++ b/tests/indent/go/issue-3288.go
@@ -0,0 +1,14 @@
+package main
+
+func correct(word string) {
+ switch word {
+
+ } // <---
+ select {
+
+ } // <---
+
+ arr := []struct {
+
+ } // <---
+}