summaryrefslogtreecommitdiffstats
path: root/src/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.rs b/src/utils.rs
index 0aae93da9..01039093d 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -41,6 +41,10 @@ pub fn exec_cmd(cmd: &str, args: &[&str]) -> Option<CommandOutput> {
stdout: String::from("v12.0.0"),
stderr: String::default(),
}),
+ "crystal --version" => Some(CommandOutput {
+ stdout: String::from("Crystal 0.32.1 (2019-12-18)"),
+ stderr: String::default(),
+ }),
"dummy_command" => Some(CommandOutput {
stdout: String::from("stdout ok!"),
stderr: String::from("stderr ok!"),