mirror of
https://github.com/kovetskiy/mark.git
synced 2026-04-18 20:21:12 +00:00
add code & testing files for continue-on-error flag
- add continue-on-error flag as a command line option
- if set, doesnt exit on error and continues
processing other files that were passed in
- add fatalErrorHandler to handle fatal errors
- if continue-on-error flag is set, does not exit
- add temporary tests for continue-on-error flag
- add tests in batch-tests subdirectory
This commit is contained in:
15
testdata/batch-tests/broken-test.md
vendored
Normal file
15
testdata/batch-tests/broken-test.md
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# a
|
||||
|
||||
## b
|
||||
|
||||
### c
|
||||
|
||||
#### d
|
||||
|
||||
##### e
|
||||
|
||||
# f
|
||||
|
||||
## g
|
||||
|
||||
# This/is some_Heading.yml
|
||||
10
testdata/batch-tests/irfan-test.md
vendored
Normal file
10
testdata/batch-tests/irfan-test.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<!-- Space: MySpace -->
|
||||
<!-- Parent: Parent -->
|
||||
<!-- Title: whatnot -->
|
||||
|
||||
## Foo
|
||||
|
||||
> **TL;DR:** Thingy!
|
||||
> More stuff
|
||||
|
||||
Foo
|
||||
15
testdata/batch-tests/mark-test.md
vendored
Normal file
15
testdata/batch-tests/mark-test.md
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# a
|
||||
|
||||
## b
|
||||
|
||||
### c
|
||||
|
||||
#### d
|
||||
|
||||
##### e
|
||||
|
||||
# f
|
||||
|
||||
## g
|
||||
|
||||
# This/is some_Heading.yml
|
||||
19
testdata/batch-tests/rich-test.md
vendored
Normal file
19
testdata/batch-tests/rich-test.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<!-- Space: TEST2 -->
|
||||
<!-- Title: H2 -->
|
||||
<!-- Title: whatnot -->
|
||||
|
||||
# a
|
||||
|
||||
## b
|
||||
|
||||
### c
|
||||
|
||||
#### d
|
||||
|
||||
##### e
|
||||
|
||||
# f
|
||||
|
||||
## g
|
||||
|
||||
# This/is some_Heading.yml
|
||||
Reference in New Issue
Block a user