mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 11:22:30 +01:00
Add regression test for detected syntax differing for stdin and files
This commit is contained in:
5
tests/examples/regression_tests/issue_985.js
Normal file
5
tests/examples/regression_tests/issue_985.js
Normal file
@@ -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
|
||||
*/
|
Reference in New Issue
Block a user