Skip to content

Commit 80b2102

Browse files
committed
fix: small typo fix.
fixes #80
1 parent 061166c commit 80b2102

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ app.use('/licenses', express.static(path.join(__dirname, 'licenses')));
3232

3333
app.use('/api/greeting', (request, response) => {
3434
const name = request.query ? request.query.name : undefined;
35-
response.send({content: `Hello, ${name || 'World'}`});
35+
response.send({content: `Hello, ${name || 'World!'}`});
3636
});
3737

3838
module.exports = app;

test/greeting-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test('test out greeting route with no query param', (t) => {
99
.expect('Content-Type', /json/)
1010
.expect(200)
1111
.then(response => {
12-
t.equal(response.body.content, 'Hello, World');
12+
t.equal(response.body.content, 'Hello, World!');
1313
t.end();
1414
});
1515
});

0 commit comments

Comments
 (0)