aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/comp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core/src/comp.rs')
-rw-r--r--mingling_core/src/comp.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mingling_core/src/comp.rs b/mingling_core/src/comp.rs
index bf7ab13..f6fecd1 100644
--- a/mingling_core/src/comp.rs
+++ b/mingling_core/src/comp.rs
@@ -371,3 +371,13 @@ fn trace_ctx(ctx: &ShellContext) {
trace!("shell_flag={:?}", ctx.shell_flag);
trace!("=== SHELL CTX END ===");
}
+
+#[cfg(test)]
+mod tests {
+ use super::COMPLETION_SUBCOMMAND;
+
+ #[test]
+ fn completion_subcommand_constant() {
+ assert_eq!(COMPLETION_SUBCOMMAND, "__comp");
+ }
+}