Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1468)

Unified Diff: appengine/ephelper/epfrontend/util_test.go

Issue 1750143003: Remove ephelper and other endpoints code. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/ephelper/epfrontend/util.go ('k') | appengine/ephelper/ephelper.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/ephelper/epfrontend/util_test.go
diff --git a/appengine/ephelper/epfrontend/util_test.go b/appengine/ephelper/epfrontend/util_test.go
deleted file mode 100644
index f461134ae01683e9c9767c526c1d0fe33661c7cd..0000000000000000000000000000000000000000
--- a/appengine/ephelper/epfrontend/util_test.go
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package epfrontend
-
-import (
- "fmt"
- "testing"
-
- . "github.com/smartystreets/goconvey/convey"
-)
-
-func TestSafeURLPathJoin(t *testing.T) {
- Convey(`Testing safeURLPathJoin`, t, func() {
- for _, e := range []struct {
- parts []string
- value string
- }{
- {[]string{"foo", "bar", "baz"}, "foo/bar/baz"},
- {[]string{"", "foo", "bar", "baz", ""}, "/foo/bar/baz/"},
- {[]string{"/", "/foo/", "/bar/", "//baz///"}, "/foo/bar/baz"},
- {[]string{""}, ""},
- } {
- Convey(fmt.Sprintf(`URL parts %v resolve to %q.`, e.parts, e.value), func() {
- So(safeURLPathJoin(e.parts...), ShouldEqual, e.value)
- })
- }
- })
-}
« no previous file with comments | « appengine/ephelper/epfrontend/util.go ('k') | appengine/ephelper/ephelper.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698