-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The last commit broke some of the tests. Namely, the no-tabs plugin was removed, the subcommands were renamed, and I believe the original file was saved with spaces.
- Loading branch information
1 parent
2875452
commit 9131f96
Showing
6 changed files
with
48 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
import { linterCheckTest, linterFmtTest } from "tests"; | ||
import path from "path"; | ||
import { customLinterCheckTest, linterFmtTest } from "tests"; | ||
import { skipOS, TEST_DATA } from "tests/utils"; | ||
|
||
linterFmtTest({ linterName: "remark-lint" }); | ||
|
||
linterCheckTest({ linterName: "remark-lint" }); | ||
// TODO(Tyler): Fix custom parsers sometimes breaking on Mac | ||
customLinterCheckTest({ | ||
linterName: "remark-lint", | ||
args: path.join(TEST_DATA, "basic.in.md"), | ||
skipTestIf: skipOS(["darwin"]), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
* this is a list item | ||
indented with tabs | ||
* this is a list item | ||
indented with tabs | ||
|
||
* this is a list item | ||
indented with spaces | ||
|
||
Code: | ||
|
||
this code block is indented by one tab | ||
this code block is indented by one tab | ||
|
||
And: | ||
|
||
this code block is indented by two tabs | ||
this code block is indented by two tabs | ||
|
||
And: | ||
|
||
+ this is an example list item | ||
indented with tabs | ||
+ this is an example list item | ||
indented with tabs | ||
|
||
+ this is an example list item | ||
indented with spaces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters