chore: goctl format issue (#1531)

master
Kevin Wan 3 years ago committed by GitHub
parent e60e707955
commit 84ddc660c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,7 +16,7 @@ import (
const apiTemplate = `
syntax = "v1"
info(
info (
title: // TODO: add title
desc: // TODO: add description
author: "{{.gitUser}}"

@ -39,5 +39,5 @@ service A-api {
func TestFormat(t *testing.T) {
r, err := apiFormat(notFormattedStr)
assert.Nil(t, err)
assert.Equal(t, r, formattedStr)
assert.Equal(t, formattedStr, r)
}

Loading…
Cancel
Save