mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
fixed .php test
This commit is contained in:
parent
25e835f5fd
commit
92cd8c6976
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user