changed TestIsVendor
This commit is contained in:
parent
13e7886a02
commit
5e13b984c9
@ -10,25 +10,13 @@ import (
|
||||
func (s *TSuite) TestIsVendor(c *C) {
|
||||
c.Assert(IsVendor("foo/bar"), Equals, false)
|
||||
c.Assert(IsVendor("foo/vendor/foo"), Equals, true)
|
||||
c.Assert(IsVendor(".travis.yml"), Equals, true)
|
||||
c.Assert(IsVendor("foo.framer"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/coffee-script.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/less.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/underscore.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/lodash.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/lodash.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/lodash.core.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/backbone.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/ember.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/ember.debug.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/ember.prod.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/three.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/babylon.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/babylon.2.3.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/babylon.2.3.core.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/babylon.2.3.max.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/babylon.2.3.noworker.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/html5-3.6-respond-1.4.2.js"), Equals, true)
|
||||
c.Assert(IsVendor(".sublime-project"), Equals, true)
|
||||
c.Assert(IsVendor("leaflet.draw-src.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/MochiKit.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/bar/dojo.js"), Equals, true)
|
||||
c.Assert(IsVendor("foo/env/whatever"), Equals, true)
|
||||
c.Assert(IsVendor("foo/.imageset/bar"), Equals, true)
|
||||
c.Assert(IsVendor("Vagrantfile"), Equals, true)
|
||||
}
|
||||
|
||||
func (s *TSuite) TestIsDocumentation(c *C) {
|
||||
|
Loading…
Reference in New Issue
Block a user