| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package monorail |
| 6 |
| 7 import ( |
| 8 "testing" |
| 9 |
| 10 . "github.com/smartystreets/goconvey/convey" |
| 11 ) |
| 12 |
| 13 func TestMonorail(t *testing.T) { |
| 14 t.Parallel() |
| 15 |
| 16 Convey("Monorail", t, func() { |
| 17 Convey("IssueURL", func() { |
| 18 expected := "https://bugs.chromium.org/p/chromium/issues
/detail?id=123" |
| 19 actual := IssueURL("bugs.chromium.org", "chromium", 123) |
| 20 So(actual, ShouldEqual, expected) |
| 21 }) |
| 22 }) |
| 23 } |
| OLD | NEW |