Skip to content

Commit d07ab7f

Browse files
committed
chore: improve test coverage
1 parent 2bb05e2 commit d07ab7f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

internal/server/serve_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ func TestGreet(t *testing.T) {
4747
expect: "time travel detected",
4848
expectError: true,
4949
},
50+
"late birthday": {
51+
input: []string{"Foo", "2000-12-22"},
52+
expect: "Hello Foo, happy belated birthday for 355 days ago.",
53+
},
5054
}
5155
for name, tc := range testCases {
5256
t.Run(name, func(tt *testing.T) {

0 commit comments

Comments
 (0)