Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Small style fix with gofmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacules authored and Bios-Marcel committed Oct 24, 2019
1 parent 28a7b83 commit df6fa53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions times/times_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ func TestAreDatesTheSameDay(t *testing.T) {
t2: time.Date(2000, 10, 11, 10, 10, 10, 0, time.UTC),
},
want: false,
}, {
}, {
name: "t1 earlier hour",
args: args{
t1: time.Date(2000, 10, 10, 10, 10, 10, 0, time.UTC),
t2: time.Date(2000, 10, 10, 11, 10, 10, 0, time.UTC),
},
want: true,
}, {
}, {
name: "t1 earlier minute",
args: args{
t1: time.Date(2000, 10, 10, 10, 10, 10, 0, time.UTC),
Expand All @@ -64,7 +64,7 @@ func TestAreDatesTheSameDay(t *testing.T) {
t2: time.Date(2000, 10, 10, 10, 10, 10, 1, time.UTC),
},
want: true,
}, {
}, {
name: "same",
args: args{
t1: time.Date(2000, 10, 10, 10, 10, 10, 0, time.UTC),
Expand Down
4 changes: 2 additions & 2 deletions util/files/files_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ func TestToAbsolutePath(t *testing.T) {
}, {
name: "absolute path; file uri",
input: "file:///te%20st.txt",
want: "/te st.txt",
want: "/te st.txt",
wantErr: false,
}, {
name: "absolute path; contains Escaped characters",
input: "/te%20st.txt",
want: "/te st.txt",
want: "/te st.txt",
wantErr: false,
},
}
Expand Down

0 comments on commit df6fa53

Please sign in to comment.