Skip to content

Commit

Permalink
go fmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrunwald committed Mar 27, 2016
1 parent 611cb3d commit 65048a8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions components_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestComponentsService_GetAll(t *testing.T) {
},
},
Components: []Component{
Component{
{
ID: 1,
Name: "API",
Description: "This is the Cachet API.",
Expand Down Expand Up @@ -212,7 +212,7 @@ func TestComponentsService_GetAllGroups(t *testing.T) {
},
},
ComponentGroups: []ComponentGroup{
ComponentGroup{
{
ID: 1,
Name: "Websites",
Order: 1,
Expand Down
2 changes: 1 addition & 1 deletion incidents_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestIncidentsService_GetAll(t *testing.T) {
},
},
Incidents: []Incident{
Incident{
{
ID: 1,
ComponentID: 0,
Name: "Incident Name",
Expand Down
10 changes: 5 additions & 5 deletions metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestMetricsService_GetAll(t *testing.T) {
},
},
Metrics: []Metric{
Metric{
{
ID: 1,
Name: "Cups of coffee",
Suffix: "Cups",
Expand All @@ -48,7 +48,7 @@ func TestMetricsService_GetAll(t *testing.T) {
UpdatedAt: "2015-10-31 14:30:02",
Places: 2,
Points: []Point{
Point{
{
ID: 1,
MetricID: 1,
Value: 7,
Expand Down Expand Up @@ -91,7 +91,7 @@ func TestMetricsService_Get(t *testing.T) {
UpdatedAt: "2015-10-31 14:30:02",
Places: 2,
Points: []Point{
Point{
{
ID: 1,
MetricID: 1,
Value: 7,
Expand Down Expand Up @@ -180,14 +180,14 @@ func TestMetricsService_GetPoints(t *testing.T) {
}

expected := &[]Point{
Point{
{
ID: 1,
MetricID: 1,
Value: 4,
CreatedAt: "2015-10-31 16:30:02",
UpdatedAt: "2015-10-31 16:30:02",
},
Point{
{
ID: 2,
MetricID: 1,
Value: 6,
Expand Down

0 comments on commit 65048a8

Please sign in to comment.