Skip to content

Commit b723fe2

Browse files
committed
Minor fix on demo
1 parent bcd779b commit b723fe2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/src/scripts/components/demo/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default {
3131
const code = `
3232
const cep = require('cep-promise');
3333
34-
cep('04551-010').then(console.log);
34+
cep('04.551-010').then(console.log);
3535
`;
3636

3737
const highlightedCode = Prism.highlight(

website/src/scripts/components/demo/demo.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function buildExpectedHighlightedCode(){
1111
const code = `
1212
const cep = require('cep-promise');
1313
14-
cep('04551-010').then(console.log);
14+
cep('04.551-010').then(console.log);
1515
`;
1616
return Prism.highlight(
1717
code,

0 commit comments

Comments
 (0)