diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2021-06-09 17:33:52 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-06-09 17:36:51 -0700 |
commit | 3fb646ed10b8ca425450132dd52b4671d60dcd7a (patch) | |
tree | 4a6aad9ba6ed7e36d645e4639e471b32a721daac /test | |
parent | 1ca981f50f0b2ad273bbcb870bca21c4b1264504 (diff) |
Rename go files that contain "main" function to main.go.
This is a good Go convention that we should follow.
PiperOrigin-RevId: 378538679
Diffstat (limited to 'test')
-rw-r--r-- | test/cmd/test_app/BUILD | 2 | ||||
-rw-r--r-- | test/cmd/test_app/main.go (renamed from test/cmd/test_app/test_app.go) | 0 | ||||
-rw-r--r-- | test/runner/BUILD | 2 | ||||
-rw-r--r-- | test/runner/main.go (renamed from test/runner/runner.go) | 0 |
4 files changed, 2 insertions, 2 deletions
diff --git a/test/cmd/test_app/BUILD b/test/cmd/test_app/BUILD index 98ba5a3d9..7b8b23b4d 100644 --- a/test/cmd/test_app/BUILD +++ b/test/cmd/test_app/BUILD @@ -7,7 +7,7 @@ go_binary( testonly = 1, srcs = [ "fds.go", - "test_app.go", + "main.go", ], pure = True, visibility = ["//runsc/container:__pkg__"], diff --git a/test/cmd/test_app/test_app.go b/test/cmd/test_app/main.go index 2d08ce2db..2d08ce2db 100644 --- a/test/cmd/test_app/test_app.go +++ b/test/cmd/test_app/main.go diff --git a/test/runner/BUILD b/test/runner/BUILD index 582d2946d..f9f788726 100644 --- a/test/runner/BUILD +++ b/test/runner/BUILD @@ -5,7 +5,7 @@ package(licenses = ["notice"]) go_binary( name = "runner", testonly = 1, - srcs = ["runner.go"], + srcs = ["main.go"], data = [ "//runsc", ], diff --git a/test/runner/runner.go b/test/runner/main.go index 7e8e88ba2..7e8e88ba2 100644 --- a/test/runner/runner.go +++ b/test/runner/main.go |