git.iko.soy
/
bat
readme
files
commits
refs
on
master
help
sign in
Add do-not-panic! regression tests
03c2281
sharkdp
7 years ago
tests/examples/regression_tests/issue_190.md
new file
+3
compare with master
unified
split
@@ -0,0 +1,3 @@
1
+
```
javascript
2
+
var test = "boom";
3
+
```
tests/examples/regression_tests/issue_28.md
new file
+4
@@ -0,0 +1,4 @@
1
+
Test
2
+
3
+
<div>
4
+
</div>
tests/examples/regression_tests/issue_314.hs
new file
+4
@@ -0,0 +1,4 @@
1
+
module
Main
where
2
+
3
+
main
::
IO ()
4
+
main = putStrLn
"Please show my file :c"
tests/examples/regression_tests/issue_914.rb
new file
+3
@@ -0,0 +1,3 @@
1
+
<<END_DESC
2
+
Test
3
+
END_DESC
tests/examples/regression_tests/issue_915.vue
new file
+2
@@ -0,0 +1,2 @@
1
+
<style lang="stylus">
2
+
</style>
tests/integration_tests.rs
+17
@@ -627,3 +627,20 @@ fn filename_multiple_err() {
627
.assert()
627
.assert()
628
.failure();
628
.failure();
629
}
629
}
630
+
631
+
#[test]
632
+
fn
do_not_panic_regression_tests() {
633
+
for
filename
in
&[
634
+
"issue_28.md"
,
635
+
"issue_190.md"
,
636
+
"issue_314.hs"
,
637
+
"issue_914.rb"
,
638
+
"issue_915.vue"
,
639
+
] {
640
+
bat()
641
+
.arg(
"--color=always"
)
642
+
.arg(&format!(
"regression_tests/{}"
, filename))
643
+
.assert()
644
+
.success();
645
+
}
646
+
}
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list