Skip to content

Commit

Permalink
Make fixtures match file names
Browse files Browse the repository at this point in the history
Darn macos case insensitive FS
  • Loading branch information
brackendawson committed Sep 27, 2024
1 parent 96da6e8 commit fe09bd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions fixtures/fixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ var (
CalEventWithNoStart []byte
//go:embed calEventWithNoStartSorted.ics
CalEventWithNoStartSorted []byte
//go:embed calUnMerged.ics
CalUnMerged []byte
//go:embed calUnmerged.ics
CalUnmerged []byte
//go:embed calMerged.ics
CalMerged []byte
//go:embed events11Sept2024.ics
Expand Down
6 changes: 3 additions & 3 deletions server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,15 +253,15 @@ func TestServer(t *testing.T) {
inputMethod: http.MethodGet,
inputQuery: "?cal=http://CALURL",
serverOpts: []server.Opt{server.WithUnsafeClient(&http.Client{})},
upstreamServer: mockWebcalServer(http.StatusOK, nil, fixtures.CalUnMerged),
upstreamServer: mockWebcalServer(http.StatusOK, nil, fixtures.CalUnmerged),
expectedStatus: http.StatusOK,
expectedCalendar: fixtures.CalUnMerged,
expectedCalendar: fixtures.CalUnmerged,
},
"merge": {
inputMethod: http.MethodGet,
inputQuery: "?cal=http://CALURL&mrg=true",
serverOpts: []server.Opt{server.WithUnsafeClient(&http.Client{})},
upstreamServer: mockWebcalServer(http.StatusOK, nil, fixtures.CalUnMerged),
upstreamServer: mockWebcalServer(http.StatusOK, nil, fixtures.CalUnmerged),
expectedStatus: http.StatusOK,
expectedCalendar: fixtures.CalMerged,
},
Expand Down

0 comments on commit fe09bd1

Please sign in to comment.