@@ -139,10 +139,10 @@ var _ = Describe("Finalize", func() {
139139 BeforeEach (func () {
140140 file = filepath .Join (depsDir , depsIdx , "python" , "lib" , "python2.7" , "site-packages" , "easy-install.pth" )
141141 Expect (os .MkdirAll (path .Dir (file ), 0755 )).To (Succeed ())
142- Expect (ioutil .WriteFile (file , []byte ("./setuptools-32.1.0-py2.7.egg \n ./ pip-9.0.1-py2.7.egg\n " + depsDir + "/9/src/regcore\n " ), 0644 )).To (Succeed ())
142+ Expect (ioutil .WriteFile (file , []byte ("./pip-9.0.1-py2.7.egg\n " + depsDir + "/9/src/regcore\n " ), 0644 )).To (Succeed ())
143143 })
144144 It ("Converts DepsDir value to '$DEPS_DIR' string" , func () {
145- Expect (runSubjectAndReadContents ()).To (Equal ("./setuptools-32.1.0-py2.7.egg \n ./ pip-9.0.1-py2.7.egg\n DOLLAR_DEPS_DIR/9/src/regcore\n " ))
145+ Expect (runSubjectAndReadContents ()).To (Equal ("./pip-9.0.1-py2.7.egg\n DOLLAR_DEPS_DIR/9/src/regcore\n " ))
146146 })
147147 })
148148 Context ("file deeply nested under site-packages root" , func () {
@@ -163,7 +163,7 @@ var _ = Describe("Finalize", func() {
163163 BeforeEach (func () {
164164 file = filepath .Join (depsDir , depsIdx , "python" , "lib" , "python2.7" , "site-packages" , "easy-install.pth" )
165165 Expect (os .MkdirAll (path .Dir (file ), 0755 )).To (Succeed ())
166- Expect (ioutil .WriteFile (file , []byte ("./setuptools-32.1.0-py2.7.egg \n ./ pip-9.0.1-py2.7.egg\n DOLLAR_DEPS_DIR/9/src/regcore\n " ), 0644 )).To (Succeed ())
166+ Expect (ioutil .WriteFile (file , []byte ("./pip-9.0.1-py2.7.egg\n DOLLAR_DEPS_DIR/9/src/regcore\n " ), 0644 )).To (Succeed ())
167167 })
168168 It ("At runtime, converts the contents to the runtime depsDir" , func () {
169169 Expect (finalizer .ReplaceLiteralWithDepsDirAtRuntime ()).To (Succeed ())
@@ -174,7 +174,7 @@ var _ = Describe("Finalize", func() {
174174
175175 contents , err := ioutil .ReadFile (file )
176176 Expect (err ).ToNot (HaveOccurred ())
177- Expect (string (contents )).To (Equal ("./setuptools-32.1.0-py2.7.egg \n ./ pip-9.0.1-py2.7.egg\n " + depsDir + "/9/src/regcore\n " ))
177+ Expect (string (contents )).To (Equal ("./pip-9.0.1-py2.7.egg\n " + depsDir + "/9/src/regcore\n " ))
178178 })
179179 })
180180 })
0 commit comments