detect go.mod files as Go language

This commit is contained in:
Alan Hamlett 2019-03-28 09:31:21 +09:00
parent d11c64db2b
commit 4c4760a805
3 changed files with 10 additions and 0 deletions

View file

View file

@ -274,3 +274,9 @@ class LanguagesTestCase(utils.TestCase):
expected_language='JavaScript',
entity='javascript_module.mjs',
)
def test_go_mod_detected(self):
self.shared(
expected_language='Go',
entity='go.mod',
)