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

View 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
*/