fixed .php test

This commit is contained in:
Manuel Carmona 2017-04-12 10:22:47 +02:00
parent 25e835f5fd
commit 92cd8c6976

View File

@ -12,7 +12,7 @@ func (s *TSuite) TestGetLanguageByExtension(c *C) {
c.Assert(safe, Equals, true)
lang, safe = GetLanguageByExtension("foo.go.php")
c.Assert(lang, Equals, "PHP")
c.Assert(lang, Equals, "Hack")
c.Assert(safe, Equals, false)
}