summaryrefslogtreecommitdiffstats
path: root/tests/integration_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration_tests.rs')
-rw-r--r--tests/integration_tests.rs17
1 files changed, 17 insertions, 0 deletions
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();
+ }
+}