mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-23 08:30:07 -03: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)
|
||||
|
||||
lang, safe = GetLanguageByExtension("foo.go.php")
|
||||
c.Assert(lang, Equals, "PHP")
|
||||
c.Assert(lang, Equals, "Hack")
|
||||
c.Assert(safe, Equals, false)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user