Commit 57042e92595f2a8a9370b869a999cbbe2c1b5840
Committed by
GitHub
Merge pull request #4757 from lahdekorpi/add-finnish-tests
Add test for Finnish
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
test/unit/specs/assets/locale-expects.js
@@ -2,6 +2,7 @@ export default { | @@ -2,6 +2,7 @@ export default { | ||
2 | 'de-DE': 'Oktober 2030', | 2 | 'de-DE': 'Oktober 2030', |
3 | 'en-US': 'October 2030', | 3 | 'en-US': 'October 2030', |
4 | 'es-ES': 'octubre 2030', | 4 | 'es-ES': 'octubre 2030', |
5 | + 'fi-FI': 'lokakuu 2030', | ||
5 | 'fr-FR': 'octobre 2030', | 6 | 'fr-FR': 'octobre 2030', |
6 | 'id-ID': 'Oktober 2030', | 7 | 'id-ID': 'Oktober 2030', |
7 | 'ja-JP': '2030年 10月', | 8 | 'ja-JP': '2030年 10月', |
test/unit/specs/date-picker.spec.js
@@ -371,7 +371,7 @@ describe('DatePicker.vue', () => { | @@ -371,7 +371,7 @@ describe('DatePicker.vue', () => { | ||
371 | const formater = require('../../../src/components/date-picker/util').formatDateLabels; | 371 | const formater = require('../../../src/components/date-picker/util').formatDateLabels; |
372 | const expectedResults = require('./assets/locale-expects.js').default; | 372 | const expectedResults = require('./assets/locale-expects.js').default; |
373 | const locales = [ | 373 | const locales = [ |
374 | - 'de-DE', 'en-US', 'es-ES', 'fr-FR', 'id-ID', 'ja-JP', 'ko-KR', 'pt-BR', | 374 | + 'de-DE', 'en-US', 'es-ES', 'fi-FI', 'fr-FR', 'id-ID', 'ja-JP', 'ko-KR', 'pt-BR', |
375 | 'pt-PT', 'ru-RU', 'sv-SE', 'tr-TR', 'vi-VN', 'zh-CN', 'zh-TW' | 375 | 'pt-PT', 'ru-RU', 'sv-SE', 'tr-TR', 'vi-VN', 'zh-CN', 'zh-TW' |
376 | ].reduce((obj, locale) => { | 376 | ].reduce((obj, locale) => { |
377 | obj[locale] = require('../../../src/locale/lang/' + locale).default; | 377 | obj[locale] = require('../../../src/locale/lang/' + locale).default; |