From f0170eae0b08467a030cee879a6efb7a756febd6 Mon Sep 17 00:00:00 2001 From: Vasek Purchart Date: Mon, 2 Dec 2019 10:55:50 +0100 Subject: [PATCH] failing test showing not working example from documentation --- src/Symfony/Component/String/Tests/SluggerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/String/Tests/SluggerTest.php b/src/Symfony/Component/String/Tests/SluggerTest.php index d796dde11b728..098e02219566f 100644 --- a/src/Symfony/Component/String/Tests/SluggerTest.php +++ b/src/Symfony/Component/String/Tests/SluggerTest.php @@ -20,7 +20,7 @@ class SluggerTest extends TestCase * @requires extension intl * @dataProvider provideSlug */ - public function testSlug(string $string, string $locale, string $expectedSlug) + public function testSlug(string $string, ?string $locale, string $expectedSlug) { $slugger = new AsciiSlugger($locale); @@ -36,6 +36,7 @@ public static function provideSlug(): array ['Αυτή η τιμή πρέπει να είναι ψευδής', 'el', 'Avti-i-timi-prepi-na-inai-psevdhis'], ['该变量的值应为', 'zh', 'gai-bian-liang-de-zhi-ying-wei'], ['該變數的值應為', 'zh_TW', 'gai-bian-shu-de-zhi-ying-wei'], + ['Wôrķšƥáçè ~~sèťtïñğš~~', null, 'Workspace-settings'], ]; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy