mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-08-03 06:19:52 +00:00
fixed .php test
This commit is contained in:
@@ -12,7 +12,7 @@ func (s *TSuite) TestGetLanguageByExtension(c *C) {
|
|||||||
c.Assert(safe, Equals, true)
|
c.Assert(safe, Equals, true)
|
||||||
|
|
||||||
lang, safe = GetLanguageByExtension("foo.go.php")
|
lang, safe = GetLanguageByExtension("foo.go.php")
|
||||||
c.Assert(lang, Equals, "PHP")
|
c.Assert(lang, Equals, "Hack")
|
||||||
c.Assert(safe, Equals, false)
|
c.Assert(safe, Equals, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user