Skip to content

Commit

Permalink
cleanup path generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Lamb committed Jun 9, 2013
1 parent 7260c72 commit cfcf9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestFakeServer(t *testing.T) {
resp.Body.Reset()

handle(resp, staticRequest)
sessvarsSize := getFileSize(t, path.Join(".", "samples", "booking", "public", "js", "sessvars.js"))
sessvarsSize := getFileSize(t, path.Join(BasePath, "public", "js", "sessvars.js"))
if int64(resp.Body.Len()) != sessvarsSize {
t.Errorf("Expected sessvars.js to have %d bytes, got %d:\n%s", sessvarsSize, resp.Body.Len(), resp.Body)
t.FailNow()
Expand Down

0 comments on commit cfcf9d3

Please sign in to comment.