(t *testing.T)
| 12 | } |
| 13 | |
| 14 | func TestFormatDebugBuild(t *testing.T) { |
| 15 | expects := "gh version 1.4.0 (2020-12-15) [debug build]\nhttps://github.com/cli/cli/releases/tag/v1.4.0\n" |
| 16 | if got := format("1.4.0", "2020-12-15", true); got != expects { |
| 17 | t.Errorf("format() = %q, wants %q", got, expects) |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | func TestChangelogURL(t *testing.T) { |
| 22 | tag := "0.3.2" |