diff --git a/core/modules/system/src/Tests/TypedData/TypedDataTest.php b/core/modules/system/src/Tests/TypedData/TypedDataTest.php index c0fc748..a0f7bcf 100644 --- a/core/modules/system/src/Tests/TypedData/TypedDataTest.php +++ b/core/modules/system/src/Tests/TypedData/TypedDataTest.php @@ -382,13 +382,15 @@ public function testTypedDataLists() { try { $typed_data->setValue(array('not a list' => 'one')); $this->fail('No exception has been thrown when setting an invalid value.'); - } catch (\Exception $e) { + } + catch (\Exception $e) { $this->pass('Exception thrown:' . $e->getMessage()); } try { $typed_data->setValue('string'); $this->fail('No exception has been thrown when setting an invalid value.'); - } catch (\Exception $e) { + } + catch (\Exception $e) { $this->pass('Exception thrown:' . $e->getMessage()); } }