Commit 57042e92595f2a8a9370b869a999cbbe2c1b5840

Authored by Aresn
Committed by GitHub
2 parents b2769518 ecaf5f41

Merge pull request #4757 from lahdekorpi/add-finnish-tests

Add test for Finnish
test/unit/specs/assets/locale-expects.js
... ... @@ -2,6 +2,7 @@ export default {
2 2 'de-DE': 'Oktober 2030',
3 3 'en-US': 'October 2030',
4 4 'es-ES': 'octubre 2030',
  5 + 'fi-FI': 'lokakuu 2030',
5 6 'fr-FR': 'octobre 2030',
6 7 'id-ID': 'Oktober 2030',
7 8 'ja-JP': '2030年 10月',
... ...
test/unit/specs/date-picker.spec.js
... ... @@ -371,7 +371,7 @@ describe('DatePicker.vue', () => {
371 371 const formater = require('../../../src/components/date-picker/util').formatDateLabels;
372 372 const expectedResults = require('./assets/locale-expects.js').default;
373 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 375 'pt-PT', 'ru-RU', 'sv-SE', 'tr-TR', 'vi-VN', 'zh-CN', 'zh-TW'
376 376 ].reduce((obj, locale) => {
377 377 obj[locale] = require('../../../src/locale/lang/' + locale).default;
... ...