mirror of https://github.com/pulumi/pulumi.git
25 lines
573 B
Python
25 lines
573 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "iotest",
|
|
srcs = ["log_writer.go"],
|
|
importpath = "github.com/pulumi/pulumi/sdk/v3/go/common/testing/iotest",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
alias(
|
|
name = "go_default_library",
|
|
actual = ":iotest",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "iotest_test",
|
|
srcs = ["log_writer_test.go"],
|
|
embed = [":iotest"],
|
|
deps = [
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
],
|
|
)
|