Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests broken in 2023 #63

Open
vcunat opened this issue Jan 19, 2023 · 4 comments · May be fixed by #64
Open

tests broken in 2023 #63

vcunat opened this issue Jan 19, 2023 · 4 comments · May be fixed by #64

Comments

@vcunat
Copy link

vcunat commented Jan 19, 2023

running tests
=== RUN   TestGoldenAddCmd
    add_test.go:28: "/build/source/cmd/testproject/cmd/test.go" and "testdata/test.go.golden" are not equal!
        
        $ diff -u /build/source/cmd/testproject/cmd/test.go testdata/test.go.golden
        --- /build/source/cmd/testproject/cmd/test.go   2023-01-19 16:36:00.335867015 +0000
        +++ testdata/test.go.golden     1970-01-01 00:00:01.000000000 +0000
        @@ -1,5 +1,5 @@
         /*
        -Copyright © 2023 NAME HERE <EMAIL ADDRESS>
        +Copyright © 2022 NAME HERE <EMAIL ADDRESS>
         
         Licensed under the Apache License, Version 2.0 (the "License");
         you may not use this file except in compliance with the License.
        
        exit status 1
--- FAIL: TestGoldenAddCmd (0.00s)
=== RUN   TestValidateCmdName
--- PASS: TestValidateCmdName (0.00s)
=== RUN   TestGoldenInitCmd
=== RUN   TestGoldenInitCmd/successfully_creates_a_project_based_on_module
    init_test.go:77: "/build/source/cmd/testproject/main.go" and "testdata/main.go.golden" are not equal!
        
        $ diff -u /build/source/cmd/testproject/main.go testdata/main.go.golden
        --- /build/source/cmd/testproject/main.go       2023-01-19 16:36:00.515874546 +0000
        +++ testdata/main.go.golden     1970-01-01 00:00:01.000000000 +0000
        @@ -1,5 +1,5 @@
         /*
        -Copyright © 2023 NAME HERE <EMAIL ADDRESS>
        +Copyright © 2022 NAME HERE <EMAIL ADDRESS>
         
         Licensed under the Apache License, Version 2.0 (the "License");
         you may not use this file except in compliance with the License.
        
        exit status 1
--- FAIL: TestGoldenInitCmd (0.18s)
    --- FAIL: TestGoldenInitCmd/successfully_creates_a_project_based_on_module (0.18s)
FAIL
FAIL    github.com/spf13/cobra-cli/cmd  0.187s
FAIL

/cc nixpkgs maintainer @ivankovnatsky

@marckhouzam
Copy link
Collaborator

Happens every year 🙂. Add soon as someone posts a PR, I'll merge it

@ivankovnatsky ivankovnatsky linked a pull request Jan 20, 2023 that will close this issue
@github-actions
Copy link

This issue is being marked as stale due to a long period of inactivity

@github-actions
Copy link

This issue is being marked as stale due to a long period of inactivity

@bokunodev
Copy link

please review my PR #113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants