mirror of https://github.com/sharkdp/bat
Add regression test for detected syntax differing for stdin and files
parent
157b8dd848
commit
82981c9663
@ -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
|
||||||
|
*/
|
Loading…
Reference in New Issue