Removed duplicated code
This commit is contained in:
parent
2fe2412e73
commit
f5d43dba76
3 changed files with 2 additions and 14 deletions
|
|
@ -33,8 +33,4 @@ describe('get file of page', () => {
|
|||
it('lang es-PE retrieve es', async () => {
|
||||
chai.expect('pages/about-es.md').to.deep.equal(getFileNameOfLang('pages', 'about', 'md', 'es-PE'));
|
||||
});
|
||||
|
||||
it('lang es_PE retrieve es', async () => {
|
||||
chai.expect('pages/about-es.md').to.deep.equal(getFileNameOfLang('pages', 'about', 'md', 'es_PE'));
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue