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

GUID tests to use t.Run #256

Merged
merged 1 commit into from Aug 29, 2022
Merged

GUID tests to use t.Run #256

merged 1 commit into from Aug 29, 2022

Commits on Aug 24, 2022

  1. GUID tests to use t.Run

    Switched to subtests using `t.Run()` for GUID testing, rather than using
    log statements to demarcate different tests.
    
    Added `.String` to GUID `Variant` and `Version` using
    `golang.org/x/tools/cmd/stringer`.
    
    Added `tools.go` to version `stringer` in go.mod and allow
    `go generate ./...` to be run without needing a `go get` call.
    Based off of [go wiki](https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module)
    recommendation.
    
    Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
    helsaawy committed Aug 24, 2022
    Copy the full SHA
    8bb03fc View commit details
    Browse the repository at this point in the history