Skip to content

Commit

Permalink
Added dummy test to make CI pass
Browse files Browse the repository at this point in the history
  • Loading branch information
MewX committed Aug 28, 2020
1 parent ead46b6 commit 6a62ab3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
8 changes: 7 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
load("@bazel_gazelle//:def.bzl", "gazelle")

# gazelle:prefix github.com/its-my-data/doubak
Expand All @@ -16,3 +16,9 @@ go_binary(
embed = [":doubak_lib"],
visibility = ["//visibility:public"],
)

go_test(
name = "doubak_test",
srcs = ["doubak_test.go"],
embed = [":doubak_lib"],
)
12 changes: 12 additions & 0 deletions doubak_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package main

import (
"fmt"
"testing"
)

func BenchmarkMain(b *testing.B) {
fmt.Println("Test placeholder starts!")
main()
fmt.Println("Test placeholder finished!")
}

0 comments on commit 6a62ab3

Please sign in to comment.