chore: goctl format issue (#1531)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user