mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 06:33:06 -03:00
split GetLanguage into GetLanguage and GetLanguages
This commit is contained in:
@ -25,6 +25,7 @@ func (s *SimpleLinguistTestSuite) TestGetLanguage() {
|
||||
filename string
|
||||
content []byte
|
||||
expected string
|
||||
safe bool
|
||||
}{
|
||||
{name: "TestGetLanguage_1", filename: "foo.py", content: []byte{}, expected: "Python"},
|
||||
{name: "TestGetLanguage_2", filename: "foo.m", content: []byte(":- module"), expected: "Mercury"},
|
||||
|
Reference in New Issue
Block a user