Add regression test for detected syntax differing for stdin and files

This commit is contained in:
Ethan P committed 2020-05-13 02:53:19 -07:00
1 parent 157b8dd848
commit 82981c9663
2 files changed
+44

No files matched your search

@@ -0,0 +1,5 @@
// This test should be considered a failure if the detected syntax differs between the following two commands:
/*
# bat --map-syntax '*.js:Markdown' --file-name 'issue_985.js' < issue_985.js
# bat --map-syntax '*.js:Markdown' --file-name 'issue_985.js' issue_985.js
*/