mirror of https://github.com/pulumi/pulumi.git
31 lines
709 B
Python
31 lines
709 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "testing",
|
|
srcs = ["rapid.go"],
|
|
importpath = "github.com/pulumi/pulumi/sdk/v3/go/property/testing",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//sdk/go/common/resource/urn",
|
|
"//sdk/go/property",
|
|
"@net_pgregory_rapid//:rapid",
|
|
],
|
|
)
|
|
|
|
alias(
|
|
name = "go_default_library",
|
|
actual = ":testing",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "testing_test",
|
|
srcs = ["equal_test.go"],
|
|
embed = [":testing"],
|
|
deps = [
|
|
"//sdk/go/property",
|
|
"@com_github_stretchr_testify//assert",
|
|
"@net_pgregory_rapid//:rapid",
|
|
],
|
|
)
|