aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operations
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-14 23:03:43 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-14 23:03:43 +0200
commit54b41c604bd6814e1bc8131cb1fa291d8aff25d1 (patch)
treefb734ba3af6796ee90a5dc1945885e213a04e950 /bug/operations
parent13d7b3480b0f555294edf2c52a886321bbd9f5e8 (diff)
downloadgit-bug-54b41c604bd6814e1bc8131cb1fa291d8aff25d1.tar.gz
cleaning
Diffstat (limited to 'bug/operations')
-rw-r--r--bug/operations/create_test.go2
-rw-r--r--bug/operations/set_title.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/bug/operations/create_test.go b/bug/operations/create_test.go
index bd73fc1a..c262a41c 100644
--- a/bug/operations/create_test.go
+++ b/bug/operations/create_test.go
@@ -26,6 +26,6 @@ func TestCreate(t *testing.T) {
}
if !reflect.DeepEqual(snapshot, expected) {
- t.Fatalf("%s different than %s", snapshot, expected)
+ t.Fatalf("%v different than %v", snapshot, expected)
}
}
diff --git a/bug/operations/set_title.go b/bug/operations/set_title.go
index 39f4b332..6d5cb87f 100644
--- a/bug/operations/set_title.go
+++ b/bug/operations/set_title.go
@@ -6,7 +6,7 @@ var _ bug.Operation = SetTitleOperation{}
type SetTitleOperation struct {
bug.OpBase
- Title string `json:"t"`
+ Title string
}
func NewSetTitleOp(title string) SetTitleOperation {