summaryrefslogtreecommitdiffstats
path: root/t/chainlint/case-comment.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/case-comment.test')
-rw-r--r--t/chainlint/case-comment.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/chainlint/case-comment.test b/t/chainlint/case-comment.test
new file mode 100644
index 0000000..641c157
--- /dev/null
+++ b/t/chainlint/case-comment.test
@@ -0,0 +1,11 @@
+(
+ case "$x" in
+ # found foo
+ x) foo ;;
+ # found other
+ *)
+ # treat it as bar
+ bar
+ ;;
+ esac
+)