From 51b72f3284a575cfc8cfe86b5a4455c61be7db9d Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 19 Feb 2019 19:43:50 +0100 Subject: [PATCH] [Form] Relax fixture --- .../Descriptor/default_option_with_normalizer.txt | 5 ++--- .../overridden_option_with_default_closures.txt | 10 ++++------ .../Descriptor/required_option_with_allowed_values.txt | 5 ++--- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/default_option_with_normalizer.txt b/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/default_option_with_normalizer.txt index 391c3e694d97..1824c46a7e5f 100644 --- a/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/default_option_with_normalizer.txt +++ b/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/default_option_with_normalizer.txt @@ -15,10 +15,9 @@ Symfony\Component\Form\Extension\Core\Type\ChoiceType (choice_translation_domain ---------------- --------------------%s Allowed values - %s ---------------- --------------------%s - Normalizer Closure%s{%w - parameters: 2 %s + Normalizer Closure%s{%A file: "%s%eExtension%eCore%eType%eChoiceType.php"%w - line: "%s to %s" %s + line: %s } %s ---------------- --------------------%s diff --git a/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/overridden_option_with_default_closures.txt b/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/overridden_option_with_default_closures.txt index 846d6f384684..780a4e5cb358 100644 --- a/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/overridden_option_with_default_closures.txt +++ b/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/overridden_option_with_default_closures.txt @@ -8,15 +8,13 @@ Symfony\Component\Form\Tests\Console\Descriptor\FooType (empty_data) Default Value: null %s %s Closure(s): [ %s - Closure%s{%w - parameters: 1 %s + Closure%s{%A file: "%s%eExtension%eCore%eType%eFormType.php"%w - line: "%s to %s" %s + line: %s }, %s - Closure%s{%w - parameters: 2 %s + Closure%s{%A file: "%s%eTests%eConsole%eDescriptor%eAbstractDescriptorTest.php"%w - line: "%s to %s" %s + line: %s } %s ] %s ---------------- ----------------------%s diff --git a/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/required_option_with_allowed_values.txt b/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/required_option_with_allowed_values.txt index 8cc88a550ab7..ca203a285b2c 100644 --- a/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/required_option_with_allowed_values.txt +++ b/src/Symfony/Component/Form/Tests/Fixtures/Descriptor/required_option_with_allowed_values.txt @@ -16,10 +16,9 @@ Symfony\Component\Form\Tests\Console\Descriptor\FooType (foo) "baz" %s ] %s ---------------- --------------------%s - Normalizer Closure%s{%w - parameters: 2 %s + Normalizer Closure%s{%A file: "%s%eTests%eConsole%eDescriptor%eAbstractDescriptorTest.php"%w - line: "%s to %s" %s + line: %s } %s ---------------- --------------------%s