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