1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-11 20:11:43 +00:00

Add regression test for detected syntax differing for stdin and files

This commit is contained in:
Ethan P
2020-05-13 02:51:49 -07:00
parent 157b8dd848
commit 82981c9663
2 changed files with 44 additions and 0 deletions
@@ -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
*/