diff --git a/tests/examples/regression_tests/issue_190.md b/tests/examples/regression_tests/issue_190.md
new file mode 100644
index 00000000..cde04edd
--- /dev/null
+++ b/tests/examples/regression_tests/issue_190.md
@@ -0,0 +1,3 @@
+```javascript
+var test = "boom";
+```
diff --git a/tests/examples/regression_tests/issue_28.md b/tests/examples/regression_tests/issue_28.md
new file mode 100644
index 00000000..f6e83479
--- /dev/null
+++ b/tests/examples/regression_tests/issue_28.md
@@ -0,0 +1,4 @@
+Test
+
+
+
diff --git a/tests/examples/regression_tests/issue_314.hs b/tests/examples/regression_tests/issue_314.hs
new file mode 100644
index 00000000..a2b538b6
--- /dev/null
+++ b/tests/examples/regression_tests/issue_314.hs
@@ -0,0 +1,4 @@
+module Main where
+
+main :: IO ()
+main = putStrLn "Please show my file :c"
diff --git a/tests/examples/regression_tests/issue_914.rb b/tests/examples/regression_tests/issue_914.rb
new file mode 100644
index 00000000..3f38bc7a
--- /dev/null
+++ b/tests/examples/regression_tests/issue_914.rb
@@ -0,0 +1,3 @@
+<
+
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index 7750f6cd..c589c925 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -627,3 +627,20 @@ fn filename_multiple_err() {
.assert()
.failure();
}
+
+#[test]
+fn do_not_panic_regression_tests() {
+ for filename in &[
+ "issue_28.md",
+ "issue_190.md",
+ "issue_314.hs",
+ "issue_914.rb",
+ "issue_915.vue",
+ ] {
+ bat()
+ .arg("--color=always")
+ .arg(&format!("regression_tests/{}", filename))
+ .assert()
+ .success();
+ }
+}