Skip to content

remove test-dependencies in favor of stdlib#22

Open
thaJeztah wants to merge 1 commit intodocker:mainfrom
thaJeztah:remove_testdeps
Open

remove test-dependencies in favor of stdlib#22
thaJeztah wants to merge 1 commit intodocker:mainfrom
thaJeztah:remove_testdeps

Conversation

@thaJeztah
Copy link
Member

Apparently I had this in my local checkout, but never committed or pushed it 😂. Don't know where I left off, but it seems to be complete 🤷‍♂️

crazy-max
crazy-max previously approved these changes Mar 9, 2022
Copy link
Member

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
Copy link
Member Author

To be fair. the "diff" (actual/expected) may be a bit wonky 😅 - let me know if that's a problem

@crazy-max
Copy link
Member

Yeah a bit, do you have an issue with transitive deps on another repo?

@thaJeztah
Copy link
Member Author

Not directly, so I'm fine waiting with this. I think I originally looked at what it was used for, and all seemed "trivial enough to not need a dependency for that", but now looking again, the reason I didn't push may have been because of this specific case.

I'll give it some thinking (perhaps we can only add go-cmp (e.g.)

@crazy-max crazy-max marked this pull request as draft March 9, 2022 13:34
@thaJeztah thaJeztah force-pushed the remove_testdeps branch 3 times, most recently from e30202f to 5b32f0a Compare December 12, 2025 16:23
@thaJeztah thaJeztah marked this pull request as ready for review December 12, 2025 16:26
Comment on lines 12 to -18
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should consider this PR after all; at least it gets rid of the deprecated gopkg.in/yaml.v3 (indirect) dependency 🤔

WDYT @crazy-max ?

Comment on lines 249 to 254
// keep for testing
//tmpdir, err := os.MkdirTemp("", "cli-docs-tools")
//require.NoError(t, err)
//t.Log(tmpdir)
// tmpdir, err := os.MkdirTemp("", "cli-docs-tools")
// if err != nil {
// t.Fatal(err)
// }
// t.Log(tmpdir)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you recall what this was for? Otherwise perhaps we should just remove it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me just remove it; looks trivial to add back if someone needs it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah changed the title remove test-dependencies in favor of native go remove test-dependencies in favor of stdlib Feb 12, 2026
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 this pull request may close these issues.

2 participants