@@ -32,7 +32,7 @@ var _ = Describe("Project", func() {
3232 })
3333
3434 It ("should match the golden file" , func () {
35- instance := & Boilerplate {Year : "2018 " , License : "apache2" , Owner : "The Kubernetes authors" }
35+ instance := & Boilerplate {Year : "2019 " , License : "apache2" , Owner : "The Kubernetes authors" }
3636 Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
3737 Expect (result .Actual .String ()).To (BeEquivalentTo (result .Golden ))
3838 })
@@ -45,15 +45,15 @@ var _ = Describe("Project", func() {
4545
4646 Context ("for apache2" , func () {
4747 It ("should write the apache2 boilerplate with specified owners" , func () {
48- instance := & Boilerplate {Year : "2018 " , Owner : "Example Owners" }
48+ instance := & Boilerplate {Year : "2019 " , Owner : "Example Owners" }
4949 Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
5050 e := strings .Replace (
5151 result .Golden , "The Kubernetes authors" , "Example Owners" , - 1 )
5252 Expect (result .Actual .String ()).To (BeEquivalentTo (e ))
5353 })
5454
5555 It ("should use apache2 as the default" , func () {
56- instance := & Boilerplate {Year : "2018 " , Owner : "The Kubernetes authors" }
56+ instance := & Boilerplate {Year : "2019 " , Owner : "The Kubernetes authors" }
5757 Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
5858 Expect (result .Actual .String ()).To (BeEquivalentTo (result .Golden ))
5959 })
0 commit comments