Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Oct 25, 2023
1 parent a5e164c commit 56c3f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ func TestVersionEndpointReturnsVersion(t *testing.T) {
t.Fatal("Unable to read body from response")
}

if string(body) != `{"version": "git"}\n` {
if string(body) != "{\"version\": \"git\"}\n" {
t.Fatal("Expected to return Version from /version, got:", string(body))
}
})
Expand Down

0 comments on commit 56c3f4b

Please sign in to comment.