From 55098edf99635b25098e7ec1cf9e43f97cdda5b4 Mon Sep 17 00:00:00 2001 From: oleibman <10341515+oleibman@users.noreply.github.com> Date: Thu, 13 Nov 2025 21:07:19 -0800 Subject: [PATCH] Minor Touchup --- .../Calculation/Functions/Information/InfoTest.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Information/InfoTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Information/InfoTest.php index d114e62e0..966cedc9f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Information/InfoTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Information/InfoTest.php @@ -18,7 +18,8 @@ class InfoTest extends TestCase $sheet->getCell('A1')->setValue('=INFO("' . $typeText . '")'); $result = $sheet->getCell('A1')->getCalculatedValue(); - self::assertEquals($expectedResult, $result); + self::assertSame($expectedResult, $result); + $spreadsheet->disconnectWorksheets(); } public static function providerINFO(): array @@ -36,6 +37,7 @@ class InfoTest extends TestCase $sheet->getCell('A1')->setValue('=INFO("numfile")'); $result = $sheet->getCell('A1')->getCalculatedValue(); - self::assertEquals(3, $result); + self::assertSame(3, $result); + $spreadsheet->disconnectWorksheets(); } }