summaryrefslogtreecommitdiffhomepage
path: root/test/cmd/test_app
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2021-06-09 17:33:52 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-09 17:36:51 -0700
commit3fb646ed10b8ca425450132dd52b4671d60dcd7a (patch)
tree4a6aad9ba6ed7e36d645e4639e471b32a721daac /test/cmd/test_app
parent1ca981f50f0b2ad273bbcb870bca21c4b1264504 (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/cmd/test_app')
-rw-r--r--test/cmd/test_app/BUILD2
-rw-r--r--test/cmd/test_app/main.go (renamed from test/cmd/test_app/test_app.go)0
2 files changed, 1 insertions, 1 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